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

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

View File

@ -1362,17 +1362,18 @@ full_split, cut, rcut, etc..")
(package (package
(name "ocaml-bisect") (name "ocaml-bisect")
(version "1.3.1") (version "1.3.1")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/gasche/bisect/archive/" (method git-fetch)
version ".tar.gz")) (uri (git-reference
(file-name (string-append name "-" version ".tar.gz")) (url "https://github.com/gasche/bisect.git")
(sha256 (commit version)))
(base32 (file-name (git-file-name name version))
"0p67fppk5ifb63b00kxwrb1xg75hrqhknng3bsdyw3gxxqyjlpmx")) (sha256
(patches (base32 "0hm5za61qydda6ri3887b4zqqbqilh42x712xnclm1rr7ggga2nh"))
(search-patches (patches
"ocaml-bisect-fix-camlp4-in-another-directory.patch")))) (search-patches
"ocaml-bisect-fix-camlp4-in-another-directory.patch"))))
(build-system ocaml-build-system) (build-system ocaml-build-system)
(native-inputs (native-inputs
`(("camlp4" ,camlp4) `(("camlp4" ,camlp4)