gnu: camlp4@4.02+6: Don't use unstable tarball.

* gnu/packages/ocaml.scm (camlp4-4.02)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
master
Tobias Geerinckx-Rice 2019-04-09 00:08:53 +02:00
parent 93b3dc523e
commit d5dee1de7c
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 9 additions and 8 deletions

View File

@ -564,14 +564,15 @@ Git-friendly development workflow.")
(package (package
(name "camlp4") (name "camlp4")
(version "4.02+6") (version "4.02+6")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/ocaml/camlp4/archive/" (method git-fetch)
version ".tar.gz")) (uri (git-reference
(sha256 (url "https://github.com/ocaml/camlp4.git")
(base32 (commit version)))
"0icdfzhsbgf89925gc8gl3fm8z2xzszzlib0v9dj5wyzkyv3a342")) (file-name (git-file-name name version))
(file-name (string-append name "-" version ".tar.gz")))) (sha256
(base32 "06yl4q0qazl7g25b0axd1gdkfd4qpqzs1gr5fkvmkrcbz113h1hj"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("ocaml" ,ocaml-4.02) (native-inputs `(("ocaml" ,ocaml-4.02)
("which" ,which))) ("which" ,which)))