gnu: Add ocaml-ppx-derivers.

* gnu/packages/ocaml.scm (ocaml-ppx-derivers): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
Gabriel Hondet 2019-01-05 17:44:30 +01:00 committed by Julien Lepiller
parent b5bab81c10
commit 3f623d00a7
No known key found for this signature in database
GPG key ID: 43111F4520086A0C

View file

@ -5053,3 +5053,29 @@ (define-public ocaml-stdio
re-exports the input/output functions of the OCaml standard libraries using
a more consistent API.")
(license license:expat)))
(define-public ocaml-ppx-derivers
(package
(name "ocaml-ppx-derivers")
(version "1.2")
(home-page
"https://github.com/ocaml-ppx/ppx_derivers")
(source
(origin
(method git-fetch)
(uri (git-reference
(url (string-append home-page ".git"))
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0bnhihl1w31as5w2czly1v3d6pbir9inmgsjg2cj6aaj9v1dzd85"))))
(build-system dune-build-system)
(arguments
'(#:tests? #f)) ;no tests
(synopsis "Shared @code{@@deriving} plugin registry")
(description
"Ppx_derivers is a tiny package whose sole purpose is to allow
ppx_deriving and ppx_type_conv to inter-operate gracefully when linked
as part of the same ocaml-migrate-parsetree driver.")
(license license:bsd-3)))