gnu: ocaml4.02-ezjsonm: Don't use unstable tarball.

* gnu/packages/ocaml.scm (ocaml4.02-ezjsonm)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-09 00:13:19 +02:00
parent 07c3711d0f
commit 21b1845dde
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -3945,14 +3945,15 @@ (define-public ocaml4.02-ezjsonm
(package (package
(name "ocaml4.02-ezjsonm") (name "ocaml4.02-ezjsonm")
(version "0.4.3") (version "0.4.3")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/mirage/ezjsonm/archive/" (method git-fetch)
version ".tar.gz")) (uri (git-reference
(sha256 (url "https://github.com/mirage/ezjsonm.git")
(base32 (commit (string-append "v" version))))
"1kag0z2xlk4rw73a240dmkxh9rj6psxxcxkm7d7z0rrj6hzjajgq")) (file-name (git-file-name name version))
(file-name (string-append name "-" version ".tar.gz")))) (sha256
(base32 "1y6p3ga6vj1wx5dyns7hjgd0qgrrn2hnn323a7y5didgci5pybls"))))
(build-system ocaml-build-system) (build-system ocaml-build-system)
(native-inputs (native-inputs
`(("alcotest" ,ocaml4.02-alcotest))) `(("alcotest" ,ocaml4.02-alcotest)))