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

* gnu/packages/ocaml.scm (ocaml-utop)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-09 00:14:31 +02:00
parent fd2582bd7f
commit 7848205b24
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 9 additions and 8 deletions

View File

@ -4443,14 +4443,15 @@ instead of bindings to a C library.")
(package (package
(name "ocaml-utop") (name "ocaml-utop")
(version "2.2.0") (version "2.2.0")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/ocaml-community/utop/archive/" (method git-fetch)
version ".tar.gz")) (uri (git-reference
(file-name (string-append name "-" version ".tar.gz")) (url "https://github.com/ocaml-community/utop.git")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "02hjkc0rdzfq3bqy9mqm5wmw312r3187v9cl66ynb6hxkj6s3glb"))))
"1414snwmqaxs1x8wbpjf6fn3jsl01hq0phrr7639xmb5vh15mgd4"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:test-target "test" `(#:test-target "test"