[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: gnu: Add ocaml-ppx-bitstring.
From: |
guix-commits |
Subject: |
03/04: gnu: Add ocaml-ppx-bitstring. |
Date: |
Tue, 28 Jun 2022 13:36:27 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 0d5c88737bcdde05511080359c7a5bdf963eec6a
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 18 23:47:01 2022 +0200
gnu: Add ocaml-ppx-bitstring.
* gnu/packages/ocaml.scm (ocaml-ppx-bitstring): New variable.
---
gnu/packages/ocaml.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 6e9170e929..59a883b400 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2016,6 +2016,22 @@ powerful.")
(propagated-inputs
`(("ocaml-ppx-tools-versioned" ,ocaml4.07-ppx-tools-versioned)))
(properties '()))))
+
+(define-public ocaml-ppx-bitstring
+ (package
+ (inherit ocaml-bitstring)
+ (name "ocaml-ppx-bitstring")
+ (arguments
+ `(#:package "ppx_bitstring"
+ ;; No tests
+ #:tests? #f))
+ (propagated-inputs (list ocaml-bitstring ocaml-ppxlib))
+ (native-inputs (list ocaml-ounit))
+ (properties `((upstream-name . "ppx_bitstring")))
+ (synopsis "PPX extension for bitstrings and bitstring matching")
+ (description
+ "This package provides a way to write bitstrings and matching over
+bitsrings in Erlang style as primitives to the language.")))
(define-public ocaml-result
(package