guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: diamond: Update to 0.8.1.


From: Ben Woodcroft
Subject: 01/01: gnu: diamond: Update to 0.8.1.
Date: Tue, 17 May 2016 11:19:54 +0000 (UTC)

benwoodcroft pushed a commit to branch master
in repository guix.

commit 122395f9fc42de7dbe2643b437ca4e484adb8ba0
Author: Ben Woodcroft <address@hidden>
Date:   Tue May 17 21:07:00 2016 +1000

    gnu: diamond: Update to 0.8.1.
    
    * gnu/packages/bioinformatics.scm (diamond): Update to 0.8.1.
    [source]: Remove 'snippet'.
    [build-system]: Use cmake-build-system.
    [arguments]: Remove modifications to phases.
    [native-inputs]: Remove field.
    [inputs]: Remove 'boost'.
---
 gnu/packages/bioinformatics.scm |   31 +++++--------------------------
 1 file changed, 5 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index aa16d39..f882185 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1482,7 +1482,7 @@ identify enrichments with functional annotations of the 
genome.")
 (define-public diamond
   (package
     (name "diamond")
-    (version "0.7.9")
+    (version "0.8.1")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -1491,33 +1491,12 @@ identify enrichments with functional annotations of the 
genome.")
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0hfkcfv9f76h5brbyw9fyvmc0l9cmbsxrcdqk0fa9xv82zj47p15"))
-              (snippet '(begin
-                          (delete-file "bin/diamond")
-                          #t))))
-    (build-system gnu-build-system)
+                "1dqancz32c2l7w1b2vkvh5zqa2jnf99j1c41djnx1l8pxn044zdc"))))
+    (build-system cmake-build-system)
     (arguments
-     '(#:tests? #f  ;no "check" target
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'enter-source-dir
-                    (lambda _
-                      (chdir "src")
-                      #t))
-         (delete 'configure)
-         (replace 'install
-                  (lambda* (#:key outputs #:allow-other-keys)
-                    (let ((bin (string-append (assoc-ref outputs "out")
-                                              "/bin")))
-                      (mkdir-p bin)
-                      (copy-file "../bin/diamond"
-                                 (string-append bin "/diamond"))
-                      #t))))))
-    (native-inputs
-     `(("bc" ,bc)))
+     '(#:tests? #f)) ; no "check" target
     (inputs
-     `(("boost" ,boost)
-       ("zlib" ,zlib)))
+     `(("zlib" ,zlib)))
     (home-page "https://github.com/bbuchfink/diamond";)
     (synopsis "Accelerated BLAST compatible local sequence aligner")
     (description



reply via email to

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