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:
parent
fd2582bd7f
commit
7848205b24
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue