gnu: Add ocaml-syntax-shims.

* gnu/packages/ocaml.scm (ocaml-syntax-shims): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
pukkamustard 2021-06-01 20:23:00 +00:00 committed by Julien Lepiller
parent 3649c56a5f
commit 5b61a1472b
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -6627,3 +6627,28 @@ (define-public ocaml-bigstringaf
between Bigstrings and other string-like types. @code{bigstringaf} provides
these missing pieces.")
(license license:bsd-3)))
(define-public ocaml-syntax-shims
(package
(name "ocaml-syntax-shims")
(version "1.0.0")
(home-page "https://github.com/ocaml-ppx/ocaml-syntax-shims")
(source
(origin
(method git-fetch)
(uri (git-reference
(url home-page)
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0l1i8z95qgb0lxlrv3yb5nkp391hqsiyi4r91p12k3xmggqixagf"))))
(build-system dune-build-system)
(properties
`((upstream-name . "ocaml-syntax-shims")))
(synopsis
"Backport new syntax to older OCaml versions")
(description
"This packages backports new features of the language to older
compilers, such as let+.")
(license license:expat)))