gnu: ocaml-jbuilder: Don't use unstable tarball.

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

View File

@ -4333,15 +4333,15 @@ library is currently designed for Unicode Standard 3.2.")
(package
(name "ocaml-jbuilder")
(version "1.0+beta16")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/janestreet/jbuilder/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1cy07pwvbrlysszs938yd74yyvvbgkffpb82qrjph77zf0h2gdi7"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/janestreet/jbuilder.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1y3fgf570w3vrnhianrg26jy5j749zczq3f78s2dy5ylbp1hrx71"))))
(build-system ocaml-build-system)
(arguments
`(#:ocaml ,ocaml-4.02