guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: bedtools: Update to 2.27.0.


From: Ricardo Wurmus
Subject: 01/01: gnu: bedtools: Update to 2.27.0.
Date: Wed, 6 Dec 2017 13:14:38 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 0d9824cc127f045d32c22d0c75df46d97cb61624
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Dec 6 19:12:16 2017 +0100

    gnu: bedtools: Update to 2.27.0.
    
    * gnu/packages/bioinformatics.scm (bedtools): Update to 2.27.0.
    [arguments]: Remove custom "install" phase; specify prefix.
---
 gnu/packages/bioinformatics.scm | 28 ++++++++++++----------------
 1 file changed, 12 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index f0b589b..fedc8ae 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -421,31 +421,27 @@ computational cluster.")
 (define-public bedtools
   (package
     (name "bedtools")
-    (version "2.26.0")
+    (version "2.27.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append 
"https://github.com/arq5x/bedtools2/archive/v";
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (uri (string-append 
"https://github.com/arq5x/bedtools2/releases/";
+                                  "download/v" version "/"
+                                  "bedtools-" version ".tar.gz"))
               (sha256
                (base32
-                "0xvri5hnp2iim1cx6mcd5d9f102p5ql41x69rd6106x1c17pinqm"))))
+                "0q6fsiz4s52yzxs6h2vxwq95fsi3n64wkpinkk05mfh4dmhybw74"))))
     (build-system gnu-build-system)
-    (native-inputs `(("python" ,python-2)))
-    (inputs `(("samtools" ,samtools)
-              ("zlib" ,zlib)))
     (arguments
      '(#:test-target "test"
+       #:make-flags
+       (list (string-append "prefix=" (assoc-ref %outputs "out")))
        #:phases
        (modify-phases %standard-phases
-         (delete 'configure)
-         (replace 'install
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
-               (for-each (lambda (file)
-                           (install-file file bin))
-                         (find-files "bin" ".*")))
-             #t)))))
+         (delete 'configure))))
+    (native-inputs `(("python" ,python-2)))
+    (inputs
+     `(("samtools" ,samtools)
+       ("zlib" ,zlib)))
     (home-page "https://github.com/arq5x/bedtools2";)
     (synopsis "Tools for genome analysis and arithmetic")
     (description



reply via email to

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