3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: ocaml-re: Use dune-build-system.

* gnu/packages/ocaml.scm (ocaml-re): Use dune-build-system.
This commit is contained in:
Julien Lepiller 2018-11-19 23:28:19 +01:00
parent 48b27902de
commit d6fa189eef
No known key found for this signature in database
GPG key ID: 43111F4520086A0C

View file

@ -3663,26 +3663,14 @@ standard iterator type starting from 4.07.")
(sha256 (sha256
(base32 (base32
"1pdb0mr6z5ax6szblr3f5lbdnqq9grm97cmsfjmdma60yrx2rqhd")))) "1pdb0mr6z5ax6szblr3f5lbdnqq9grm97cmsfjmdma60yrx2rqhd"))))
(build-system ocaml-build-system) (build-system dune-build-system)
(arguments (arguments
`(#:tests? #f `(#:tests? #f
#:phases #:build-flags (list "--profile" "release")))
(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)))))
(propagated-inputs (propagated-inputs
`(("ocaml-seq" ,ocaml-seq))) `(("ocaml-seq" ,ocaml-seq)))
(native-inputs (native-inputs
`(("dune" ,dune) `(("ounit" ,ocaml-ounit)))
("ounit" ,ocaml-ounit)))
(home-page "https://github.com/ocaml/ocaml-re/") (home-page "https://github.com/ocaml/ocaml-re/")
(synopsis "Regular expression library for OCaml") (synopsis "Regular expression library for OCaml")
(description "Pure OCaml regular expressions with: (description "Pure OCaml regular expressions with: