aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-05-21 16:32:16 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-05-25 14:47:52 +0200
commitc64fecc20b4c1a4fdf4fe6daa6a6cb7217d04777 (patch)
tree8cd1ef47871684d157c181ff1f006d4dca160af8
parent7ea5acc6684cbe31d8c95c5dd569487e96852fff (diff)
downloadpatches-c64fecc20b4c1a4fdf4fe6daa6a6cb7217d04777.tar
patches-c64fecc20b4c1a4fdf4fe6daa6a6cb7217d04777.tar.gz
gnu: Add ocaml-ppx-custom-printf.
* gnu/packages/ocaml.scm (ocaml-ppx-custom-printf): New variable.
-rw-r--r--gnu/packages/ocaml.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index c2f4ed972e..29fbf9cf36 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2738,3 +2738,25 @@ functions from type definitions.")
(description "Syntax extension that makes [failwiths] always include a
position.")
(license license:asl2.0)))
+
+(define-public ocaml-ppx-custom-printf
+ (package
+ (name "ocaml-ppx-custom-printf")
+ (version "113.33.03")
+ (source (janestreet-origin "ppx_custom_printf" version
+ "11jlx0n87g2j1vyyp343dibx7lvvwig5j5q0nq0b80kbsq0k6yr8"))
+ (build-system ocaml-build-system)
+ (native-inputs
+ `(("js-build-tools" ,ocaml-js-build-tools)
+ ("opam" ,opam)))
+ (propagated-inputs
+ `(("ppx-sexp-conv" ,ocaml-ppx-sexp-conv)
+ ("ppx-tools" ,ocaml-ppx-tools)
+ ("ppx-core" ,ocaml-ppx-core)
+ ("ppx-driver" ,ocaml-ppx-driver)))
+ (arguments janestreet-arguments)
+ (home-page "https://github.com/janestreet/ppx_custom_printf/")
+ (synopsis "Printf-style format-strings for user-defined string conversion")
+ (description "Extensions to printf-style format-strings for user-defined
+string conversion.")
+ (license license:asl2.0)))