Subject: [PATCH] bioinformatics: htslib: Enable support for custom URI schemes.
From: Roel Janssen <[email-masked]>
To: [email-masked]
Date: Tue, 06 Oct 2020 10:48:31 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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

From fbec05df4bcc630ac51f59cd27f8e45a6ac41002 Mon Sep 17 00:00:00 2001
From: Roel Janssen <[email-masked]>
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