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

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

View File

@ -3978,14 +3978,15 @@ JSON.")
(package (package
(name "ocaml4.02-uri") (name "ocaml4.02-uri")
(version "1.9.2") (version "1.9.2")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/mirage/ocaml-uri/archive/v" (method git-fetch)
version ".tar.gz")) (uri (git-reference
(sha256 (url "https://github.com/mirage/ocaml-uri.git")
(base32 (commit (string-append "v" version))))
"02bzrag79prx261rxf9mlak749pwf4flpfl8p012x1xznv9m0clc")) (file-name (git-file-name name version))
(file-name (string-append name "-" version ".tar.gz")))) (sha256
(base32 "137pg8j654x7r0d1664iy2zp3l82nki1kkh921lwdrwc5qqdl6jx"))))
(build-system ocaml-build-system) (build-system ocaml-build-system)
(arguments (arguments
`(#:ocaml ,ocaml-4.02 `(#:ocaml ,ocaml-4.02