gnu: gctp: Don't use unstable tarball.

* gnu/packages/maths.scm (gctp)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-09 00:16:53 +02:00
parent 7848205b24
commit 5db874d1df
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -649,13 +649,13 @@ (define-public gctp
(version "2.0.0") (version "2.0.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/OkoSanto/GCTP/archive/v" (uri (git-reference
version ".tar.gz")) (url "https://github.com/OkoSanto/GCTP.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 "11wqmd443b4nksdbzp1msdws3av948nmwq1xz80w6hka3ss2aigd"))))
"0l9aqnqynh9laicn5dxf3rsb1n14xiks79wbyqccirzmjqd1c1x4"))))
(native-inputs (native-inputs
`(("fortran" ,gfortran))) `(("fortran" ,gfortran)))
(build-system gnu-build-system) (build-system gnu-build-system)