gnu: ocaml-ocplib-endian: Don't use unstable tarball.

* gnu/packages/ocaml.scm (ocaml-ocplib-endian)[source]: Download using
git-fetch.
This commit is contained in:
Efraim Flashner 2020-01-28 10:51:40 +02:00
parent 8684575a88
commit 4d85a7dd26
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2659,13 +2659,14 @@ (define-public ocaml-ocplib-endian
(name "ocaml-ocplib-endian")
(version "1.0")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/OCamlPro/ocplib-endian/"
"archive/" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/OCamlPro/ocplib-endian/")
(commit version)))
(sha256
(base32
"0hwj09rnzjs0m0kazz5h2mgs6p95j0zlga8cda5srnzqmzhniwkn"))
(file-name (string-append name "-" version ".tar.gz"))))
"0s1ld3kavz892b8awyxyg1mr98h2g61gy9ci5v6yb49bsii6wicw"))
(file-name (git-file-name name version))))
(build-system ocaml-build-system)
(native-inputs
`(("cppo" ,ocaml-cppo)