unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Roel Janssen <roel@gnu.org>
To: 43825@debbugs.gnu.org
Subject: [bug#43825] [PATCH] bioinformatics: htslib: Enable support for custom URI schemes.
Date: Tue, 06 Oct 2020 10:48:31 +0200	[thread overview]
Message-ID: <be76ac8e2264d9be1d6c56dc4f08dcd013c87054.camel@gnu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

Dear Guix,

I'd like to apply this patch to enable accessing files stored in
certain "cloud" systems.  I added "--enable-libcurl" although it is not
strictly necessary. Both "--enable-gcs" and "--enable-s3" require
libcurl to be enabled, so this just seems reassuringly clear to me. 

Kind regards,
Roel Janssen


[-- Attachment #2: 0001-bioinformatics-htslib-Enable-support-for-custom-URI-.patch --]
[-- Type: text/x-patch, Size: 1079 bytes --]

From fbec05df4bcc630ac51f59cd27f8e45a6ac41002 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Tue, 6 Oct 2020 10:41:56 +0200
Subject: [PATCH] bioinformatics: htslib: Enable support for custom URI
 schemes.

This commit enables the translation of "gs://" and "s3://"
URIs into their equivalent HTTPS variants.

* gnu/packages/bioinformatics.scm (htslib): Enable support for custom URIs.
---
 gnu/packages/bioinformatics.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index fda7255662..c8bf7cfdad 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4225,6 +4225,10 @@ performance.")
                (base32
                 "16ljv43sc3fxmv63w7b2ff8m1s7h89xhazwmbm1bicz8axq8fjz0"))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags '("--enable-gcs"
+                           "--enable-libcurl"
+                           "--enable-s3")))
     (inputs
      `(("curl" ,curl)
        ("openssl" ,openssl)))
-- 
2.26.2


             reply	other threads:[~2020-10-06  8:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-06  8:48 Roel Janssen [this message]
2020-10-06 19:23 ` [bug#43825] [PATCH] bioinformatics: htslib: Enable support for custom URI schemes Efraim Flashner
2020-10-06 20:56 ` Ricardo Wurmus
2020-10-07 13:37   ` bug#43825: " Roel Janssen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=be76ac8e2264d9be1d6c56dc4f08dcd013c87054.camel@gnu.org \
    --to=roel@gnu.org \
    --cc=43825@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).