gnu: ocamlify: Parametrize source URI.
* gnu/packages/ocaml.scm (ocamlify)[source]: Construct with VERSION.master
parent
55d6b357a9
commit
4a7243fcfb
|
@ -2259,18 +2259,18 @@ radix-64 representation. It is specified in RFC 4648.")
|
||||||
(package
|
(package
|
||||||
(name "ocamlify")
|
(name "ocamlify")
|
||||||
(version "0.0.1")
|
(version "0.0.1")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri "https://download.ocamlcore.org/ocamlify/ocamlify/0.0.1/ocamlify-0.0.1.tar.gz")
|
(method url-fetch)
|
||||||
(sha256
|
(uri (string-append "https://download.ocamlcore.org/ocamlify/ocamlify/"
|
||||||
(base32
|
version "/ocamlify-" version ".tar.gz"))
|
||||||
"1j9nb3vjqbdsx3d6jazixgrh776051zkrc06nsc5q5ilp1jhrwkm"))))
|
(sha256
|
||||||
|
(base32 "1j9nb3vjqbdsx3d6jazixgrh776051zkrc06nsc5q5ilp1jhrwkm"))))
|
||||||
(build-system ocaml-build-system)
|
(build-system ocaml-build-system)
|
||||||
; tests are done during build
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'check)
|
(delete 'check) ; tests are run during the build
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(invoke "ocaml" "setup.ml" "-configure" "--prefix"
|
(invoke "ocaml" "setup.ml" "-configure" "--prefix"
|
||||||
|
|
Reference in New Issue