[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/45: gnu: Add ocaml-ppx-cstruct.
From: |
guix-commits |
Subject: |
15/45: gnu: Add ocaml-ppx-cstruct. |
Date: |
Fri, 17 Feb 2023 10:49:32 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit a9a8d626b1e6b1a055b63932be432cc8d66792c5
Author: raingloom <raingloom@riseup.net>
AuthorDate: Wed Feb 15 23:00:04 2023 +0100
gnu: Add ocaml-ppx-cstruct.
* gnu/packages/ocaml.scm (ocaml-ppx-cstruct): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/ocaml.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 9069b320e9..7a9e8d4f89 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4462,6 +4462,22 @@ writing to these structures, and they are accessed via
the Bigarray module.")
(define ocaml-cstruct-unix ocaml-cstruct)
(define ocaml-cstruct-sexp ocaml-cstruct)
+(define-public ocaml-ppx-cstruct
+ (package
+ (inherit ocaml-cstruct)
+ (name "ocaml-ppx-cstruct")
+ (properties `((upstream-name . "ppx_cstruct")))
+ (arguments
+ '(#:package "ppx_cstruct"
+ ;; TODO doesn't find test deps for some reason?
+ ;; I have no clue why.
+ #:tests? #f))
+ (propagated-inputs (modify-inputs (package-propagated-inputs ocaml-cstruct)
+ (append ocaml-cstruct ocaml-ppxlib ocaml-sexplib)))
+ (native-inputs (modify-inputs (package-propagated-inputs ocaml-cstruct)
+ (append ocaml-cstruct-sexp ocaml-findlib
+ ocaml-ppx-sexp-conv)))))
+
(define-public ocaml-hex
(package
(name "ocaml-hex")
- branch master updated (eb38e74c6b -> c3dd743b9a), guix-commits, 2023/02/17
- 10/45: gnu: Add ocaml-mirage., guix-commits, 2023/02/17
- 02/45: gnu: Add ocaml-macaddr., guix-commits, 2023/02/17
- 04/45: gnu: Add ocaml-opam-monorepo., guix-commits, 2023/02/17
- 07/45: gnu: Add ocaml-functoria-runtime, guix-commits, 2023/02/17
- 15/45: gnu: Add ocaml-ppx-cstruct.,
guix-commits <=
- 18/45: gnu: Add ocaml-mirage-clock., guix-commits, 2023/02/17
- 27/45: gnu: Add ocaml-textutils-kernel., guix-commits, 2023/02/17
- 34/45: gnu: Add ocaml-xenstore., guix-commits, 2023/02/17
- 39/45: gnu: Add ocaml-mirage-bootvar-unix., guix-commits, 2023/02/17
- 03/45: gnu: Add ocaml-ipaddr., guix-commits, 2023/02/17
- 21/45: gnu: Add ocaml-sexp-pretty., guix-commits, 2023/02/17
- 11/45: gnu: Add ocaml-duration., guix-commits, 2023/02/17
- 17/45: gnu: Add ocaml-mirage-profile., guix-commits, 2023/02/17
- 22/45: gnu: Add ocaml-expect-test-helpers-core., guix-commits, 2023/02/17
- 24/45: gnu: Add ocaml-core-unix., guix-commits, 2023/02/17