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

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

View File

@ -4064,14 +4064,15 @@ cpp-like directives.")
(package (package
(name "ocaml-piqilib") (name "ocaml-piqilib")
(version "0.6.14") (version "0.6.14")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/alavrik/piqi/archive/v" (method git-fetch)
version ".tar.gz")) (uri (git-reference
(url "https://github.com/alavrik/piqi.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "0lyqllmfsxmwlg7qidy92kvxi9n39lvachmydcyi81f8p07ykd2d"))))
"1ssccnwqzfyf7syfq2fv4zyhwayxwd75rhq9y28mvq1w6qbww4l7"))
(file-name (string-append name "-" version ".tar.gz"))))
(build-system ocaml-build-system) (build-system ocaml-build-system)
(arguments (arguments
`(#:phases `(#:phases