mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 22:16:32 +01:00
gnu: ocaml-camomile: Use dune-build-system.
* gnu/packages/ocaml.scm (ocaml-camomile): Use dune-build-system.
This commit is contained in:
parent
d6fa189eef
commit
426e629e0c
1 changed files with 3 additions and 15 deletions
|
@ -4403,23 +4403,11 @@ (define-public ocaml-camomile
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"01ssjrqz41jvrqh27jxnh9cx7ywi9b5sgsykd00i7z9nrcwhlfy2"))))
|
"01ssjrqz41jvrqh27jxnh9cx7ywi9b5sgsykd00i7z9nrcwhlfy2"))))
|
||||||
(build-system ocaml-build-system)
|
(build-system dune-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("camlp4" ,camlp4)
|
`(("camlp4" ,camlp4)))
|
||||||
("dune" ,dune)))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:build-flags (list "--profile" "realease")
|
||||||
(modify-phases %standard-phases
|
|
||||||
(delete 'configure)
|
|
||||||
(replace 'build
|
|
||||||
(lambda _
|
|
||||||
(invoke "dune" "build" "@install" "--profile" "release")
|
|
||||||
#t))
|
|
||||||
(replace 'install
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(invoke "dune" "install"
|
|
||||||
"--prefix" (assoc-ref outputs "out"))
|
|
||||||
#t)))
|
|
||||||
#:tests? #f))
|
#:tests? #f))
|
||||||
(synopsis "Comprehensive Unicode library")
|
(synopsis "Comprehensive Unicode library")
|
||||||
(description "Camomile is a Unicode library for OCaml. Camomile provides
|
(description "Camomile is a Unicode library for OCaml. Camomile provides
|
||||||
|
|
Loading…
Reference in a new issue