mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add ocaml-ppx-let.
* gnu/packages/ocaml.scm (ocaml-ppx-let): New variable.
This commit is contained in:
parent
79967eeafc
commit
1365ae47d1
1 changed files with 24 additions and 0 deletions
|
@ -5669,3 +5669,27 @@ (define-public ocaml-ppx-optcomp
|
|||
used to handle optional compilations of pieces of code depending of the word
|
||||
size, the version of the compiler, ...")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public ocaml-ppx-let
|
||||
(package
|
||||
(name "ocaml-ppx-let")
|
||||
(version "0.11.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://ocaml.janestreet.com/ocaml-core/v"
|
||||
(version-major+minor version)
|
||||
"/files/ppx_let-v" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1wdfw6w4xbg97a35yg6bif9gggxniy9ddnrjfw1a0inkl2yamxkj"))))
|
||||
(build-system dune-build-system)
|
||||
(propagated-inputs
|
||||
`(("ocaml-base" ,ocaml-base)
|
||||
("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)
|
||||
("ocaml-ppxlib" ,ocaml-ppxlib)))
|
||||
(properties `((upstream-name . "ppx_let")))
|
||||
(home-page "https://github.com/janestreet/ppx_let")
|
||||
(synopsis "Monadic let-bindings")
|
||||
(description "A ppx rewriter for monadic and applicative let bindings,
|
||||
match expressions, and if expressions.")
|
||||
(license license:asl2.0)))
|
||||
|
|
Loading…
Reference in a new issue