gnu: Add ocaml-ppx-hash.

* gnu/packages/ocaml.scm (ocaml-ppx-hash): New variable.
This commit is contained in:
Julien Lepiller 2019-02-01 17:52:37 +01:00
parent 49b01fa3e9
commit 6692f65218
No known key found for this signature in database
GPG key ID: 43111F4520086A0C

View file

@ -5408,3 +5408,29 @@ (define-public ocaml-octavius
(synopsis "Ocamldoc comment syntax parser")
(description "Octavius is a library to parse the `ocamldoc` comment syntax.")
(license license:isc)))
(define-public ocaml-ppx-hash
(package
(name "ocaml-ppx-hash")
(version "0.11.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/janestreet/ppx_hash.git")
(commit (string-append "v" version))))
(sha256
(base32
"1p0ic6aijxlrdggpmycj12q3cy9xksbq2vq727215maz4snvlf5p"))))
(build-system dune-build-system)
(propagated-inputs
`(("ocaml-base" ,ocaml-base)
("ocaml-ppx-compare" ,ocaml-ppx-compare)
("ocaml-ppx-sexp-conv" ,ocaml-ppx-sexp-conv)
("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)
("ocaml-ppxlib" ,ocaml-ppxlib)))
(properties `((upstream-name . "ppx_hash")))
(home-page "https://github.com/janestreet/ppx_hash")
(synopsis "Generation of hash functions from type expressions and definitions")
(description "This package is a collecton of ppx rewriters that generate
hash functions from type exrpessions and definitions.")
(license license:asl2.0)))