summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-08 08:34:01 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-08 08:53:53 +0100
commit3398dfb764f309ad4d0cace5c80ae4c6b69b12f6 (patch)
treee0f1b3ac472239524deed59d6c9bcc5fc81bb451 /gnu
parente0f1aa2d2b09d9baa69cd6b69735671f694b1f8b (diff)
downloadguix-3398dfb764f309ad4d0cace5c80ae4c6b69b12f6.tar.gz
gnu: ncbi-vdb: Fetch sources from git.
* gnu/packages/bioinformatics.scm (ncbi-vdb)[source]: Fetch from git.
[arguments]: Add phase to make checkout writable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bioinformatics.scm21
1 files changed, 11 insertions, 10 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index bbdecbff43..6ef4adb305 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.