about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/custom_printf
diff options
context:
space:
mode:
authorEric Merritt <eric@afiniate.com>2015-05-11 19:16:27 -0500
committerEric Merritt <eric@afiniate.com>2015-05-24 12:32:53 -0700
commit8a9d5637bc8efc2cb636ffc39a3ccc312f00dbac (patch)
tree890043dc272bfa0edd4d5325ead185738770c077 /pkgs/development/ocaml-modules/custom_printf
parent12c3b11bf4afcd33e46615f19ad24dc9ed6cdf8f (diff)
downloadnixlib-8a9d5637bc8efc2cb636ffc39a3ccc312f00dbac.tar
nixlib-8a9d5637bc8efc2cb636ffc39a3ccc312f00dbac.tar.gz
nixlib-8a9d5637bc8efc2cb636ffc39a3ccc312f00dbac.tar.bz2
nixlib-8a9d5637bc8efc2cb636ffc39a3ccc312f00dbac.tar.lz
nixlib-8a9d5637bc8efc2cb636ffc39a3ccc312f00dbac.tar.xz
nixlib-8a9d5637bc8efc2cb636ffc39a3ccc312f00dbac.tar.zst
nixlib-8a9d5637bc8efc2cb636ffc39a3ccc312f00dbac.zip
ocaml-custom_printf: add initial version (112.24.00) to the system
Diffstat (limited to 'pkgs/development/ocaml-modules/custom_printf')
-rw-r--r--pkgs/development/ocaml-modules/custom_printf/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/custom_printf/default.nix b/pkgs/development/ocaml-modules/custom_printf/default.nix
new file mode 100644
index 000000000000..05a8ecfe616b
--- /dev/null
+++ b/pkgs/development/ocaml-modules/custom_printf/default.nix
@@ -0,0 +1,23 @@
+{stdenv, buildOcaml, fetchurl, type_conv, sexplib, pa_ounit}:
+
+buildOcaml rec {
+  name = "custom_printf";
+  version = "112.24.00";
+
+  minimumSupportedOcamlVersion = "4.02";
+
+  src = fetchurl {
+    url = "https://github.com/janestreet/custom_printf/archive/${version}.tar.gz";
+    sha256 = "dad3aface92c53e8fbcc12cc9358c4767cb1cb09857d4819a10ed98eccaca8f9";
+  };
+
+  buildInputs = [ pa_ounit ];
+  propagatedBuildInputs = [ type_conv sexplib ];
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/janestreet/custom_printf;
+    description = "Syntax extension for printf format strings";
+    license = licenses.asl20;
+    maintainers = [ maintainers.ericbmerritt ];
+  };
+}