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")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/OkoSanto/GCTP/archive/v"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/OkoSanto/GCTP.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0l9aqnqynh9laicn5dxf3rsb1n14xiks79wbyqccirzmjqd1c1x4"))))
(base32 "11wqmd443b4nksdbzp1msdws3av948nmwq1xz80w6hka3ss2aigd"))))
(native-inputs
`(("fortran" ,gfortran)))
(build-system gnu-build-system)