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
1 changed files with 6 additions and 5 deletions

View File

@ -4411,12 +4411,13 @@ connect an engine to your inputs and rendering functions to get an editor.")
(version "1.13") (version "1.13")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/diml/lambda-term/archive/" (uri (git-reference
version ".tar.gz")) (url "https://github.com/diml/lambda-term.git")
(file-name (string-append name "-" version ".tar.gz")) (commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "1hy5ryagqclgdm9lzh1qil5mrynlypv7mn6qm858hdcnmz9zzn0l")))) (base32 "0wwib20b2ir3h2g9zwhzn04cv160psb805skp8v23wqgyn5cnbh8"))))
(build-system dune-build-system) (build-system dune-build-system)
(arguments (arguments
`(#:build-flags (list "--profile" "release") `(#:build-flags (list "--profile" "release")