gnu: java-htsjdk: Fetch sources from git.

* gnu/packages/bioinformatics.scm (java-htsjdk)[source]: Fetch from git.
This commit is contained in:
Ricardo Wurmus 2018-11-07 20:36:07 +01:00
parent 57be690d91
commit b8a6230df3
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3117,14 +3117,14 @@ (define-public java-htsjdk
(name "java-htsjdk")
(version "2.3.0") ; last version without build dependency on gradle
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/samtools/htsjdk/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/samtools/htsjdk.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1ibhzzxsfc38nqyk9r8zqj6blfc1kh26iirypd4q6n90hs2m6nyq"))
"1b178ixcabanm834ydjl3jiakpyxdmki32hqfv2abrzn3rcwa28i"))
(modules '((guix build utils)))
(snippet
;; Delete pre-built binaries