gnu: seqtk: Fetch sources from git.

* gnu/packages/bioinformatics.scm (seqtk)[source]: Fetch from git.
This commit is contained in:
Ricardo Wurmus 2018-11-07 22:33:06 +01:00
parent b9d0c3564b
commit 019fcdf20a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 7 additions and 7 deletions

View File

@ -5870,15 +5870,15 @@ is one that takes arguments.")
(name "seqtk")
(version "1.2")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/lh3/seqtk/archive/v"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/lh3/seqtk.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0ywdyzpmfiz2wp6ampbzqg4y8bj450nfgqarpamg045b8mk32lxx"))
(modules '((guix build utils)))
"1mdkgmzdy734a0na9hxbl4k41jjkm87bvjbm7bdbh50fsra86f93"))
(modules '((guix build utils)))
(snippet
'(begin
;; Remove extraneous header files, as is done in the seqtk