[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/40: gnu: Add ocaml-fieldslib.
From: |
guix-commits |
Subject: |
08/40: gnu: Add ocaml-fieldslib. |
Date: |
Tue, 5 Feb 2019 16:34:53 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit 143685fd1af1b8de6fb9facaf8199fa0734095f3
Author: Julien Lepiller <address@hidden>
Date: Fri Feb 1 16:46:17 2019 +0100
gnu: Add ocaml-fieldslib.
* gnu/packages/ocaml.scm (ocaml-fieldslib): New variable.
---
gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index b65c633..54a451a 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5193,3 +5193,31 @@ than ocaml's Pervasives.compare. Scaffolding functions
also gives you more
flexibility by allowing you to override them for a specific type and more
safety
by making sure that you only compare comparable values.")
(license license:asl2.0)))
+
+(define-public ocaml-fieldslib
+ (package
+ (name "ocaml-fieldslib")
+ (version "0.11.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://ocaml.janestreet.com/ocaml-core/v"
+ (version-major+minor version) "/files/"
+ "fieldslib-v" version ".tar.gz"))
+ (sha256
+ (base32
+ "12948pzxrl360lybm9fzyvplgcl87zjbn4m3sk1aw75zk85p1388"))))
+ (build-system dune-build-system)
+ (arguments
+ ;; No tests
+ `(#:tests? #f))
+ (propagated-inputs
+ `(("ocaml-base" ,ocaml-base)
+ ("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)
+ ("ocaml-ppxlib" ,ocaml-ppxlib)))
+ (properties `((upstream-name . "fieldslib")))
+ (home-page "https://github.com/janestreet/fieldslib")
+ (synopsis "Syntax extension to record fields")
+ (description "Syntax extension to define first class values representing
+record fields, to get and set record fields, iterate and fold over all fields
+of a record and create new record values.")
+ (license license:asl2.0)))
- 36/40: gnu: Add ocaml-jane-street-headers., (continued)
- 36/40: gnu: Add ocaml-jane-street-headers., guix-commits, 2019/02/05
- 32/40: gnu: Add ocaml-ppx-base., guix-commits, 2019/02/05
- 28/40: gnu: Add ocaml-ppx-assert., guix-commits, 2019/02/05
- 39/40: gnu: Add ocaml-core., guix-commits, 2019/02/05
- 25/40: gnu: add ocaml-ppx-optcomp., guix-commits, 2019/02/05
- 37/40: gnu: Add ocaml-configurator., guix-commits, 2019/02/05
- 31/40: gnu: Add ocaml-ppx-typerep-conv., guix-commits, 2019/02/05
- 23/40: gnu: Add ocaml-ppx-pipebang., guix-commits, 2019/02/05
- 17/40: gnu: Add ocaml-ppx-enumerate., guix-commits, 2019/02/05
- 19/40: gnu: Add ocaml-ppx-here., guix-commits, 2019/02/05
- 08/40: gnu: Add ocaml-fieldslib.,
guix-commits <=
- 26/40: gnu: Add ocaml-ppx-let., guix-commits, 2019/02/05
- 12/40: gnu: Add ocaml-ppx-variants-conv., guix-commits, 2019/02/05
- 21/40: gnu: Add ocaml-ppx-sexp-value., guix-commits, 2019/02/05
- 06/40: gnu: ocaml: Use propagated-inputs., guix-commits, 2019/02/05
- 22/40: gnu: Add ocaml-ppx-sexp-message., guix-commits, 2019/02/05
- 18/40: gnu: Add ocaml-ppx-bench., guix-commits, 2019/02/05
- 09/40: gnu: Add ocaml-variantslib., guix-commits, 2019/02/05
- 20/40: gnu: Add ocaml-typerep., guix-commits, 2019/02/05
- 11/40: gnu: Add ocaml-ppx-sexp-conv., guix-commits, 2019/02/05
- 13/40: gnu: Add ocaml-ppx-custom-printf., guix-commits, 2019/02/05