gnu: ocaml-lambda-term: Don't use unstable tarball.

* gnu/packages/ocaml.scm (ocaml-lambda-term)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-09 00:14:27 +02:00
parent f4f3e8ce4d
commit fd2582bd7f
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -4411,12 +4411,13 @@ (define-public ocaml-lambda-term
(version "1.13")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/diml/lambda-term/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/diml/lambda-term.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1hy5ryagqclgdm9lzh1qil5mrynlypv7mn6qm858hdcnmz9zzn0l"))))
(base32 "0wwib20b2ir3h2g9zwhzn04cv160psb805skp8v23wqgyn5cnbh8"))))
(build-system dune-build-system)
(arguments
`(#:build-flags (list "--profile" "release")