summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/bin_prot
diff options
context:
space:
mode:
authorts468 <ts468@users.noreply.github.com>2015-09-06 21:15:10 +0200
committerts468 <ts468@users.noreply.github.com>2015-09-06 21:15:10 +0200
commit054be41e04e2f583433c8d69f73f63389aec7f77 (patch)
tree57b99067b9535540280af72c31b134d8ba8e1589 /pkgs/development/ocaml-modules/bin_prot
parenta9dab9df6110f6f5c8300c4408c845d8176539bd (diff)
downloadnixlib-054be41e04e2f583433c8d69f73f63389aec7f77.tar
nixlib-054be41e04e2f583433c8d69f73f63389aec7f77.tar.gz
nixlib-054be41e04e2f583433c8d69f73f63389aec7f77.tar.bz2
nixlib-054be41e04e2f583433c8d69f73f63389aec7f77.tar.lz
nixlib-054be41e04e2f583433c8d69f73f63389aec7f77.tar.xz
nixlib-054be41e04e2f583433c8d69f73f63389aec7f77.tar.zst
nixlib-054be41e04e2f583433c8d69f73f63389aec7f77.zip
Revert "ocaml-modules: fix naming: "_" -> "-""
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 ];
+  };
+}