[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: bioawk: Fetch sources from git.
From: |
Ricardo Wurmus |
Subject: |
03/06: gnu: bioawk: Fetch sources from git. |
Date: |
Wed, 7 Nov 2018 13:53:01 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 383cb7b8e6f15ec4191a55d84a90d2e0ed570fe3
Author: Ricardo Wurmus <address@hidden>
Date: Wed Nov 7 19:06:30 2018 +0100
gnu: bioawk: Fetch sources from git.
* gnu/packages/bioinformatics.scm (bioawk)[source]: Fetch from git.
---
gnu/packages/bioinformatics.scm | 28 +++++++++++++++-------------
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 505f988..ab317aa 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -563,12 +563,14 @@ independently with transcriptional regulation.")
(name "bioawk")
(version "1.0")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/lh3/bioawk/archive/v"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1daizxsk17ahi9n58fj8vpgwyhzrzh54bzqhanjanp88kgrz7gjw"))))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/lh3/bioawk.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1pxc3zdnirxbf9a0az698hd8xdik7qkhypm7v6hn922x8y9qmspm"))))
(build-system gnu-build-system)
(inputs
`(("zlib" ,zlib)))
@@ -582,13 +584,13 @@ independently with transcriptional regulation.")
(modify-phases %standard-phases
(delete 'configure) ; There is no configure phase.
(replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin"))
- (man (string-append out "/share/man/man1")))
- (mkdir-p man)
- (copy-file "awk.1" (string-append man "/bioawk.1"))
- (install-file "bioawk" bin)))))))
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (man (string-append out "/share/man/man1")))
+ (mkdir-p man)
+ (copy-file "awk.1" (string-append man "/bioawk.1"))
+ (install-file "bioawk" bin)))))))
(home-page "https://github.com/lh3/bioawk")
(synopsis "AWK with bioinformatics extensions")
(description "Bioawk is an extension to Brian Kernighan's awk, adding the
- branch master updated (21335fd -> 7ca49ab), Ricardo Wurmus, 2018/11/07
- 02/06: gnu: bedtools-2.18: Fetch sources from stable URL., Ricardo Wurmus, 2018/11/07
- 03/06: gnu: bioawk: Fetch sources from git.,
Ricardo Wurmus <=
- 01/06: gnu: bamtools: Fetch sources from git., Ricardo Wurmus, 2018/11/07
- 06/06: gnu: ribodiff: Fetch sources from git., Ricardo Wurmus, 2018/11/07
- 05/06: gnu: python-biom-format: Update to 2.1.7., Ricardo Wurmus, 2018/11/07
- 04/06: gnu: python-biom-format: Fetch source from git., Ricardo Wurmus, 2018/11/07