diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-11-08 08:34:01 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-11-08 08:53:53 +0100 |
commit | 3398dfb764f309ad4d0cace5c80ae4c6b69b12f6 (patch) | |
tree | e0f1b3ac472239524deed59d6c9bcc5fc81bb451 | |
parent | e0f1aa2d2b09d9baa69cd6b69735671f694b1f8b (diff) |
gnu: ncbi-vdb: Fetch sources from git.
* gnu/packages/bioinformatics.scm (ncbi-vdb)[source]: Fetch from git.
[arguments]: Add phase to make checkout writable.
-rw-r--r-- | gnu/packages/bioinformatics.scm | 21 |
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. |