guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: ncbi-vdb: Fetch sources from git.


From: Ricardo Wurmus
Subject: 02/05: gnu: ncbi-vdb: Fetch sources from git.
Date: Thu, 8 Nov 2018 02:54:05 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 3398dfb764f309ad4d0cace5c80ae4c6b69b12f6
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Nov 8 08:34:01 2018 +0100

    gnu: ncbi-vdb: Fetch sources from git.
    
    * gnu/packages/bioinformatics.scm (ncbi-vdb)[source]: Fetch from git.
    [arguments]: Add phase to make checkout writable.
---
 gnu/packages/bioinformatics.scm | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index bbdecbf..6ef4adb 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -5303,22 +5303,23 @@ simultaneously.")
   (package
     (name "ncbi-vdb")
     (version "2.8.2")
-    (source
-     (origin
-       (method url-fetch)
-       (uri
-        (string-append "https://github.com/ncbi/ncbi-vdb/archive/";
-                       version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "1acn4bv81mfl137qnbn9995mjjhwd36pm0b7qli1iw5skrxa9j8m"))))
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ncbi/ncbi-vdb.git";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1ssy5wlqdm86pmbv9mfdjx518lbsk32wfv2qgr7m1z77kaicw7zq"))))
     (build-system gnu-build-system)
     (arguments
      `(#:parallel-build? #f ; not supported
        #:tests? #f ; no "check" target
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'make-files-writable
+           (lambda _ (for-each make-file-writable (find-files "." ".*")) #t))
          (add-before 'configure 'set-perl-search-path
            (lambda _
              ;; Work around "dotless @INC" build failure.



reply via email to

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