gnu: Add ocaml-ppx-pipebang.

* gnu/packages/ocaml.scm (ocaml-ppx-pipebang): New variable.
This commit is contained in:
Julien Lepiller 2017-05-21 16:29:45 +02:00
parent 25941ca13b
commit 3674d7df2f
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 21 additions and 0 deletions

View File

@ -2673,3 +2673,24 @@ match expressions, and if expressions.")
(description "A ppx rewriter that simplifies building s-expressions from (description "A ppx rewriter that simplifies building s-expressions from
ocaml values.") ocaml values.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public ocaml-ppx-pipebang
(package
(name "ocaml-ppx-pipebang")
(version "113.33.03")
(source (janestreet-origin "ppx_pipebang" version
"1965c7hymp26ncmjs0pfxi2s5jlj60z2c9b194lgcwxqiav56pcw"))
(build-system ocaml-build-system)
(native-inputs
`(("js-build-tools" ,ocaml-js-build-tools)
("opam" ,opam)))
(propagated-inputs
`(("ppx-driver" ,ocaml-ppx-driver)
("ppx-tools" ,ocaml-ppx-tools)
("ppx-core" ,ocaml-ppx-core)))
(arguments janestreet-arguments)
(home-page "https://github.com/janestreet/ppx_pipebang/")
(synopsis "Inline reverse application operators `|>` and `|!`")
(description "A ppx rewriter that inlines reverse application operators
@code{|>} and @code{|!}.")
(license license:asl2.0)))