gnu: Add ocaml-ppx-stable.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Julien Lepiller 2022-04-08 15:22:48 +02:00 committed by Ludovic Courtès
parent ca36468083
commit bee0de9365
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -6270,6 +6270,30 @@ (define-public ocaml-ppx-string
(description "This extension provides a syntax for string interpolation.")
(license license:expat)))
(define-public ocaml-ppx-stable
(package
(name "ocaml-ppx-stable")
(version "0.14.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/janestreet/ppx_stable")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1sp1kn23qr0pfypa4ilvhqq5y11y13xpfygfl582ra9kik5xqfa1"))))
(build-system dune-build-system)
(arguments
`(#:test-target "tests"))
(propagated-inputs (list ocaml-base ocaml-ppxlib))
(properties `((upstream-name . "ppx_stable")))
(home-page "https://github.com/janestreet/ppx_stable")
(synopsis "Stable types conversions generator")
(description "This package is a ppx extension for easier implementation of
conversion functions between almost identical types.")
(license license:expat)))
(define-public ocaml-ppx-base
(package
(name "ocaml-ppx-base")