[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60673] [PATCH 15/39] gnu: Add ocaml-ppx-cstruct.
From: |
Csepp |
Subject: |
[bug#60673] [PATCH 15/39] gnu: Add ocaml-ppx-cstruct. |
Date: |
Mon, 9 Jan 2023 01:35:05 +0100 |
From: raingloom <raingloom@riseup.net>
* gnu/packages/ocaml.scm (ocaml-ppx-cstruct): New variable.
---
gnu/packages/ocaml.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index ee4c1cf91a..72cb000fd9 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4469,6 +4469,28 @@ (define-public ocaml4.07-cstruct
(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")
--
2.38.1
- [bug#60673] [PATCH 17/39] gnu: Add ocaml-mirage-profile., (continued)
- [bug#60673] [PATCH 17/39] gnu: Add ocaml-mirage-profile., Csepp, 2023/01/08
- [bug#60673] [PATCH 21/39] gnu: Add ocaml-sexp-pretty., Csepp, 2023/01/08
- [bug#60673] [PATCH 28/39] gnu: Add ocaml-textutils., Csepp, 2023/01/08
- [bug#60673] [PATCH 25/39] gnu: Add ocaml-async-kernel., Csepp, 2023/01/08
- [bug#60673] [PATCH 39/39] gnu: Add ocaml-mirage-bootvar-unix., Csepp, 2023/01/08
- [bug#60673] [PATCH 23/39] gnu: Add ocaml-intrinsics., Csepp, 2023/01/08
- [bug#60673] [PATCH 19/39] gnu: Add ocaml-ptime., Csepp, 2023/01/08
- [bug#60673] [PATCH 24/39] gnu: Add ocaml-core-unix., Csepp, 2023/01/08
- [bug#60673] [PATCH 31/39] gnu: Add ocaml-async., Csepp, 2023/01/08
- [bug#60673] [PATCH 35/39] gnu: Add ocaml-io-page., Csepp, 2023/01/08
- [bug#60673] [PATCH 15/39] gnu: Add ocaml-ppx-cstruct.,
Csepp <=
- [bug#60673] [PATCH 16/39] gnu: Add ocaml-mirage-profile-unix., Csepp, 2023/01/08
- [bug#60673] [PATCH 20/39] gnu: Add ocaml-mirage-logs., Csepp, 2023/01/08
- [bug#60673] [PATCH 22/39] gnu: Add ocaml-expect-test-helpers-core., Csepp, 2023/01/08
- [bug#60673] [PATCH 32/39] gnu: Add ocaml-shared-memory-ring., Csepp, 2023/01/08
- [bug#60673] [PATCH 34/39] gnu: Add ocaml-xenstore., Csepp, 2023/01/08
- [bug#60673] [PATCH 36/39] gnu: Add ocaml-bheap., Csepp, 2023/01/08
- [bug#60673] [PATCH 29/39] gnu: Add ocaml-protocol-version-header., Csepp, 2023/01/08
- [bug#60673] [PATCH 18/39] gnu: Add ocaml-mirage-clock., Csepp, 2023/01/08
- [bug#60673] [PATCH 26/39] gnu: Add ocaml-async-unix., Csepp, 2023/01/08
- [bug#60673] [PATCH 30/39] gnu: Add ocaml-async-rpc-kernel., Csepp, 2023/01/08