about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/bin_prot
diff options
context:
space:
mode:
authorEric Merritt <eric@afiniate.com>2015-05-11 19:12:05 -0500
committerEric Merritt <eric@afiniate.com>2015-05-24 12:32:51 -0700
commita88b7ed9087e5b772ce1343159e5f6ccd76a0de4 (patch)
tree145e35dc24479ef3561f49ce5c0bd512c35ead44 /pkgs/development/ocaml-modules/bin_prot
parentea0d507935b4deda7faea3ac6d34a11e44f286e8 (diff)
downloadnixlib-a88b7ed9087e5b772ce1343159e5f6ccd76a0de4.tar
nixlib-a88b7ed9087e5b772ce1343159e5f6ccd76a0de4.tar.gz
nixlib-a88b7ed9087e5b772ce1343159e5f6ccd76a0de4.tar.bz2
nixlib-a88b7ed9087e5b772ce1343159e5f6ccd76a0de4.tar.lz
nixlib-a88b7ed9087e5b772ce1343159e5f6ccd76a0de4.tar.xz
nixlib-a88b7ed9087e5b772ce1343159e5f6ccd76a0de4.tar.zst
nixlib-a88b7ed9087e5b772ce1343159e5f6ccd76a0de4.zip
ocaml-bin_prot: add initial version (112.24.00) to the system
Diffstat (limited to 'pkgs/development/ocaml-modules/bin_prot')
-rw-r--r--pkgs/development/ocaml-modules/bin_prot/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/bin_prot/default.nix b/pkgs/development/ocaml-modules/bin_prot/default.nix
new file mode 100644
index 000000000000..4a2b9846271b
--- /dev/null
+++ b/pkgs/development/ocaml-modules/bin_prot/default.nix
@@ -0,0 +1,24 @@
+{stdenv, writeText, buildOcaml, fetchurl, type_conv}:
+
+buildOcaml rec {
+  name = "bin_prot";
+  version = "112.24.00";
+
+  minimumSupportedOcamlVersion = "4.00";
+
+  src = fetchurl {
+    url = "https://github.com/janestreet/bin_prot/archive/${version}.tar.gz";
+    sha256 = "dc0c978a825c7c123990af3317637c218f61079e6f35dc878260651084f1adb4";
+  };
+
+  propagatedBuildInputs = [ type_conv ];
+
+  hasSharedObjects = true;
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/janestreet/bin_prot;
+    description = "Binary protocol generator ";
+    license = licenses.asl20;
+    maintainers = [ maintainers.ericbmerritt ];
+  };
+}