mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: ocaml-lwt-log: Use dune-build-system.
* gnu/packages/ocaml.scm (ocaml-lwt-log): Use dune-build-system.
This commit is contained in:
parent
f880b03bca
commit
5d0712638f
1 changed files with 2 additions and 14 deletions
|
@ -2206,22 +2206,10 @@ (define-public ocaml-lwt-log
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256 (base32
|
||||
"1lr62j2266pbsi54xmzsfvl2z7fi7smhak7fp1ybl8hssxwi6in2"))))
|
||||
(build-system ocaml-build-system)
|
||||
(build-system dune-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f; require lwt_ppx
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(replace 'build
|
||||
(lambda _
|
||||
(invoke "jbuilder" "build" "@install")
|
||||
#t))
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(invoke "jbuilder" "install" "--prefix" (assoc-ref outputs "out"))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("dune" ,dune)))
|
||||
#:jbuild? #t))
|
||||
(propagated-inputs
|
||||
`(("lwt" ,ocaml-lwt)))
|
||||
(home-page "https://github.com/aantron/lwt_log")
|
||||
|
|
Loading…
Reference in a new issue