guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add bcftools-1.9.


From: guix-commits
Subject: branch master updated: gnu: Add bcftools-1.9.
Date: Fri, 13 Nov 2020 10:14:45 -0500

This is an automated email from the git hooks/post-receive script.

roelj pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new ecc309c  gnu: Add bcftools-1.9.
ecc309c is described below

commit ecc309c14202161eba28d498649a7ed53e89aaae
Author: Roel Janssen <roel@gnu.org>
AuthorDate: Fri Nov 13 16:14:01 2020 +0100

    gnu: Add bcftools-1.9.
    
    * gnu/packages/bioinformatics.scm (bcftools-1.9): New variable.
---
 gnu/packages/bioinformatics.scm | 26 ++++++++++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 8ad38ac..22da6ac 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -354,6 +354,28 @@ transparently with both VCFs and BCFs, both uncompressed 
and BGZF-compressed.")
     ;; The sources are dual MIT/GPL, but becomes GPL-only when USE_GPL=1.
     (license (list license:gpl3+ license:expat))))
 
+(define-public bcftools-1.9
+  (package (inherit bcftools)
+    (name "bcftools")
+    (version "1.9")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/samtools/bcftools/";
+                                  "releases/download/"
+                                  version "/bcftools-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "1j3h638i8kgihzyrlnpj82xg1b23sijibys9hvwari3fy7kd0dkg"))
+              (modules '((guix build utils)))
+              (snippet '(begin
+                          ;; Delete bundled htslib.
+                          (delete-file-recursively "htslib-1.9")
+                          #t))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("htslib" ,htslib-1.9)
+       ("perl" ,perl)))))
+
 (define-public bedops
   (package
     (name "bedops")
@@ -1955,7 +1977,7 @@ multiple sequence alignments.")
                ;; FIXME: tests keep timing out on some systems.
                (invoke "nosetests" "-v" "--processes" "1")))))))
     (propagated-inputs
-     `(("htslib" ,htslib))) ; Included from installed header files.
+     `(("htslib" ,htslib-1.9))) ; Included from installed header files.
     (inputs
      `(("ncurses" ,ncurses)
        ("curl" ,curl)
@@ -1963,7 +1985,7 @@ multiple sequence alignments.")
     (native-inputs
      `(("python-cython" ,python-cython)
        ;; Dependencies below are are for tests only.
-       ("samtools" ,samtools)
+       ("samtools" ,samtools-1.9)
        ("bcftools" ,bcftools)
        ("python-nose" ,python-nose)))
     (home-page "https://github.com/pysam-developers/pysam";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]