[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60673] [PATCH v2 15/39] gnu: Add ocaml-ppx-cstruct.
From: |
Csepp |
Subject: |
[bug#60673] [PATCH v2 15/39] gnu: Add ocaml-ppx-cstruct. |
Date: |
Wed, 15 Feb 2023 23:00:04 +0100 |
From: raingloom <raingloom@riseup.net>
* gnu/packages/ocaml.scm (ocaml-ppx-cstruct): 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 552759a171..dfd194faaf 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4464,6 +4464,22 @@ (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.39.1
- [bug#60673] [PATCH v2 04/39] gnu: Add ocaml-opam-monorepo., (continued)
- [bug#60673] [PATCH v2 04/39] gnu: Add ocaml-opam-monorepo., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 02/39] gnu: Add ocaml-macaddr., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 03/39] gnu: Add ocaml-ipaddr., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 05/39] gnu: Add ocaml-pecu., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 06/39] gnu: Add ocaml-emile., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 07/39] gnu: Add ocaml-functoria-runtime, Csepp, 2023/02/15
- [bug#60673] [PATCH v2 11/39] gnu: Add ocaml-duration., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 13/39] gnu: Add ocaml-mirage-time., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 09/39] gnu: Add ocaml-functoria., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 14/39] gnu: Add aliases for ocaml-cstruct and ocaml-lwt subpackages., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 15/39] gnu: Add ocaml-ppx-cstruct.,
Csepp <=
- [bug#60673] [PATCH v2 17/39] gnu: Add ocaml-mirage-profile., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 12/39] gnu: Add ocaml-mirage-unix., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 16/39] gnu: Add ocaml-mirage-profile-unix., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 08/39] gnu: Add ocaml-mirage-runtime., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 19/39] gnu: Add ocaml-ptime., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 20/39] gnu: Add ocaml-mirage-logs., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 31/39] gnu: Add ocaml-async., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 23/39] gnu: Add ocaml-intrinsics., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 33/39] gnu: Add ocaml-shared-memory-ring-lwt., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 32/39] gnu: Add ocaml-shared-memory-ring., Csepp, 2023/02/15