[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 74/96] gnu: Add ocaml-ppx-fields-conv
From: |
Julien Lepiller |
Subject: |
[PATCH 74/96] gnu: Add ocaml-ppx-fields-conv |
Date: |
Tue, 3 Jan 2017 20:11:55 +0100 |
* gnu/packages/ocaml.scm (ocaml-ppx-fields-conv): New variable.
---
gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7c10492d7..00eae8e7e 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2385,3 +2385,26 @@ s-expressions in OCaml. This is mainly motivated by
writing error and debugging
messages, where one needs to construct a s-expression based on various element
of the context such as function arguments.")
(license license:asl2.0)))
+
+(define-public ocaml-ppx-fields-conv
+ (package
+ (name "ocaml-ppx-fields-conv")
+ (version "113.33.03")
+ (home-page "https://github.com/janestreet/ppx_fields_conv/")
+ (source (janestreet-origin "ppx_fields_conv" version
+ "1vzbdz27g5qhhfs7wx6rjf979q4xyssxqbmp6sc1sxknbghslbdv"))
+ (build-system ocaml-build-system)
+ (native-inputs `(("js-build-tools" ,ocaml-js-build-tools)
+ ("opam" ,opam)
+ ("ppx-core" ,ocaml-ppx-core)))
+ (propagated-inputs `(("fieldslib" ,ocaml-fieldslib)
+ ("ppx-tools" ,ocaml-ppx-tools)
+ ("ppx-core" ,ocaml-ppx-core)
+ ("ppx-type-conv" ,ocaml-ppx-type-conv)))
+ (arguments janestreet-arguments)
+ (synopsis "Generation of accessor and iteration functions for ocaml
records")
+ (description "Ppx_fields_conv is a ppx rewriter that can be used to define
+first class values representing record fields, and additional routines, to get
+and set record fields, iterate and fold over all fields of a record and create
+new record values.")
+ (license license:asl2.0)))
--
2.11.0
- [PATCH 63/96] gnu: Add ocaml-ppx-here, (continued)
- [PATCH 63/96] gnu: Add ocaml-ppx-here, Julien Lepiller, 2017/01/03
- [PATCH 65/96] gnu: Add ocaml-ppx-enumerate, Julien Lepiller, 2017/01/03
- [PATCH 66/96] gnu: Add ocaml-ppx-let, Julien Lepiller, 2017/01/03
- [PATCH 68/96] gnu: Add ocaml-ppx-sexp-value, Julien Lepiller, 2017/01/03
- [PATCH 67/96] gnu: Add ocaml-ppx-typerep-conv, Julien Lepiller, 2017/01/03
- [PATCH 69/96] gnu: Add ocaml-ppx-pipebang, Julien Lepiller, 2017/01/03
- [PATCH 70/96] gnu: Add ocaml-ppx-bin-prot, Julien Lepiller, 2017/01/03
- [PATCH 71/96] gnu: Add ocaml-ppx-fail, Julien Lepiller, 2017/01/03
- [PATCH 72/96] gnu: Add ocaml-ppx-custom-printf, Julien Lepiller, 2017/01/03
- [PATCH 73/96] gnu: Add ocaml-ppx-sexp-message, Julien Lepiller, 2017/01/03
- [PATCH 74/96] gnu: Add ocaml-ppx-fields-conv,
Julien Lepiller <=
- [PATCH 75/96] gnu: Add ocaml-re, Julien Lepiller, 2017/01/03
- [PATCH 76/96] gnu: Add ocaml-ppx-expect, Julien Lepiller, 2017/01/03
- [PATCH 77/96] gnu: Add ocaml-ppx-jane, Julien Lepiller, 2017/01/03
- [PATCH 78/96] gnu: Add ocaml-core-kernel, Julien Lepiller, 2017/01/03
- [PATCH 79/96] gnu: Add ocaml-async-kernel, Julien Lepiller, 2017/01/03
- [PATCH 80/96] gnu: Add ocaml-async-rpc-kernel, Julien Lepiller, 2017/01/03
- [PATCH 81/96] gnu: Add ocaml-core, Julien Lepiller, 2017/01/03
- [PATCH 82/96] gnu: Add ocaml-async-unix, Julien Lepiller, 2017/01/03
- [PATCH 83/96] gnu: Add ocaml-async-extra, Julien Lepiller, 2017/01/03
- [PATCH 84/96] gnu: Add ocaml-async, Julien Lepiller, 2017/01/03