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

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

View file

@ -1270,14 +1270,15 @@ (define-public ocaml-qcheck
(package (package
(name "ocaml-qcheck") (name "ocaml-qcheck")
(version "0.5.3.1") (version "0.5.3.1")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/c-cube/qcheck/archive/" (method git-fetch)
version ".tar.gz")) (uri (git-reference
(file-name (string-append name "-" version ".tar.gz")) (url "https://github.com/c-cube/qcheck.git")
(sha256 (commit version)))
(base32 (file-name (git-file-name name version))
"1zs1pg5cb1iry554v3cdmmiglsrwmsqa9x8zxmzb118fnk5d3ha6")))) (sha256
(base32 "0vl2asr7md99pv558nbszxvjj36b4l6rj05hyczfy524vihhl0gf"))))
(build-system ocaml-build-system) (build-system ocaml-build-system)
(native-inputs (native-inputs
`(("ounit" ,ocaml-ounit) `(("ounit" ,ocaml-ounit)