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

* gnu/packages/ocaml.scm (ocaml-qcheck)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
master
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
1 changed files with 9 additions and 8 deletions

View File

@ -1270,14 +1270,15 @@ GNU CC attributes. It provides also a C pretty printer as an example of use.")
(package
(name "ocaml-qcheck")
(version "0.5.3.1")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/c-cube/qcheck/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1zs1pg5cb1iry554v3cdmmiglsrwmsqa9x8zxmzb118fnk5d3ha6"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/c-cube/qcheck.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0vl2asr7md99pv558nbszxvjj36b4l6rj05hyczfy524vihhl0gf"))))
(build-system ocaml-build-system)
(native-inputs
`(("ounit" ,ocaml-ounit)