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,14 +1362,15 @@ 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")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "0hm5za61qydda6ri3887b4zqqbqilh42x712xnclm1rr7ggga2nh"))
"0p67fppk5ifb63b00kxwrb1xg75hrqhknng3bsdyw3gxxqyjlpmx"))
(patches (patches
(search-patches (search-patches
"ocaml-bisect-fix-camlp4-in-another-directory.patch")))) "ocaml-bisect-fix-camlp4-in-another-directory.patch"))))