gnu: kentutils: Fetch sources from git.

* gnu/packages/bioinformatics.scm (kentutils)[source]: Fetch from git.
[arguments]: Add phase "fix-permissions".
This commit is contained in:
Ricardo Wurmus 2018-11-07 21:29:40 +01:00
parent 1a20bcadf3
commit 4257c10ad2
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -11570,13 +11570,14 @@ models. TADbit is complemented by TADkit for visualizing 3D models.")
(version "302.0.0") (version "302.0.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/ENCODE-DCC/kentUtils/" (uri (git-reference
"archive/v" version ".tar.gz")) (url "https://github.com/ENCODE-DCC/kentUtils.git")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"134aja3k1cj32kbk1nnw0q9gxjb2krr15q6sga8qldzvc0585rmm")) "0n1wbyjpzii2b9qhyp9r1q76j623cggpg3y8fmw78ld3z4y7ivha"))
(modules '((guix build utils) (modules '((guix build utils)
(srfi srfi-26) (srfi srfi-26)
(ice-9 ftw))) (ice-9 ftw)))
@ -11627,6 +11628,8 @@ models. TADbit is complemented by TADkit for visualizing 3D models.")
#:tests? #f #:tests? #f
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'fix-permissions
(lambda _ (make-file-writable "src/inc/localEnvironment.mk") #t))
(add-after 'unpack 'fix-paths (add-after 'unpack 'fix-paths
(lambda _ (lambda _
(substitute* "Makefile" (substitute* "Makefile"