mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 03:45:24 -05:00
gnu: ocamlify: Parametrize source URI.
* gnu/packages/ocaml.scm (ocamlify)[source]: Construct with VERSION.
This commit is contained in:
parent
55d6b357a9
commit
4a7243fcfb
1 changed files with 8 additions and 8 deletions
|
@ -2259,18 +2259,18 @@ (define-public ocamlify
|
|||
(package
|
||||
(name "ocamlify")
|
||||
(version "0.0.1")
|
||||
(source (origin
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri "https://download.ocamlcore.org/ocamlify/ocamlify/0.0.1/ocamlify-0.0.1.tar.gz")
|
||||
(uri (string-append "https://download.ocamlcore.org/ocamlify/ocamlify/"
|
||||
version "/ocamlify-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1j9nb3vjqbdsx3d6jazixgrh776051zkrc06nsc5q5ilp1jhrwkm"))))
|
||||
(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"
|
||||
|
|
Loading…
Reference in a new issue