gnu: ocaml-num: Don't use unstable tarball.

* gnu/packages/ocaml.scm (ocaml-num)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-09 00:09:59 +02:00
parent d5dee1de7c
commit 34f615a2c1
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -731,14 +731,15 @@ (define-public ocaml-num
(package
(name "ocaml-num")
(version "1.1")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/ocaml/num/archive/v"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1xlkd0svc0mgq5s7nrm2rjrsvg15i9wxqkc1kvwjp6sv8vv8bb04"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ocaml/num.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0a4mhxgs5hi81d227aygjx35696314swas0vzy3ig809jb7zq4h0"))))
(build-system ocaml-build-system)
(arguments
`(#:phases