gnu: camlp5: Don't use unstable tarball.

* gnu/packages/ocaml.scm (camlp5)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-09 00:09:54 +02:00
parent de957d9595
commit 6aade73967
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 9 additions and 8 deletions

View File

@ -647,14 +647,15 @@ syntax of OCaml.")
(package (package
(name "camlp5") (name "camlp5")
(version "7.07") (version "7.07")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/camlp5/camlp5/archive/rel" (method git-fetch)
(string-delete #\. version) ".tar.gz")) (uri (git-reference
(file-name (string-append name "-" version ".tar.gz")) (url "https://github.com/camlp5/camlp5.git")
(commit (string-append "rel" (string-delete #\. version)))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "1c8v45553ccbqha2ypfranqlgw06rr5wjr2hlnrx5bf9jfq0h0dn"))))
"148r6p93xlxi6v7kbsqv8i70r6av04cyn0109pwss5xj6fw97i52"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("ocaml" ,ocaml))) `(("ocaml" ,ocaml)))