summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-07 23:15:58 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-07 23:17:36 +0100
commitf3f34b132cdbf830e2233f448f0268f3ad529c5f (patch)
tree4cc7b947c453d65423b1b677012f1b814706312a /gnu
parent3b888065da0480a9c716929230bd1ffdb82c7e2f (diff)
downloadpatches-f3f34b132cdbf830e2233f448f0268f3ad529c5f.tar
patches-f3f34b132cdbf830e2233f448f0268f3ad529c5f.tar.gz
gnu: filevercmp: Fetch sources from git.
* gnu/packages/bioinformatics.scm (filevercmp)[source]: Fetch from git. [arguments]: Add #T to the end of the install phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bioinformatics.scm17
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 64b7dd2586..0c2e0b50c1 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -9212,12 +9212,14 @@ group or two ChIP groups run under different conditions.")
(name "filevercmp")
(version (string-append "0-1." (string-take commit 7)))
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/ekg/filevercmp/archive/"
- commit ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0yp5jswf5j2pqc6517x277s4s6h1ss99v57kxw9gy0jkfl3yh450"))))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ekg/filevercmp.git")
+ (commit commit)))
+ (file-name (git-file-name name commit))
+ (sha256
+ (base32
+ "1j9vxsy0y050v59h0q1d6501fcw1kjvj0d18l1xk2zyg0jzj247c"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; There are no tests to run.
@@ -9227,7 +9229,8 @@ group or two ChIP groups run under different conditions.")
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((bin (string-append (assoc-ref outputs "out") "/bin")))
- (install-file "filevercmp" bin)))))))
+ (install-file "filevercmp" bin)
+ #t))))))
(home-page "https://github.com/ekg/filevercmp")
(synopsis "This program compares version strings")
(description "This program compares version strings. It intends to be a