me
/
guix
Archived
1
0
Fork 0

gnu: ocamlify: Parametrize source URI.

* gnu/packages/ocaml.scm (ocamlify)[source]: Construct with VERSION.
master
Tobias Geerinckx-Rice 2020-08-31 19:40:38 +02:00
parent 55d6b357a9
commit 4a7243fcfb
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 8 additions and 8 deletions

View File

@ -2259,18 +2259,18 @@ radix-64 representation. It is specified in RFC 4648.")
(package
(name "ocamlify")
(version "0.0.1")
(source (origin
(method url-fetch)
(uri "https://download.ocamlcore.org/ocamlify/ocamlify/0.0.1/ocamlify-0.0.1.tar.gz")
(sha256
(base32
"1j9nb3vjqbdsx3d6jazixgrh776051zkrc06nsc5q5ilp1jhrwkm"))))
(source
(origin
(method url-fetch)
(uri (string-append "https://download.ocamlcore.org/ocamlify/ocamlify/"
version "/ocamlify-" version ".tar.gz"))
(sha256
(base32 "1j9nb3vjqbdsx3d6jazixgrh776051zkrc06nsc5q5ilp1jhrwkm"))))
(build-system ocaml-build-system)
; tests are done during build
(arguments
`(#:phases
(modify-phases %standard-phases
(delete 'check)
(delete 'check) ; tests are run during the build
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(invoke "ocaml" "setup.ml" "-configure" "--prefix"