summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorEric Merritt <eric@afiniate.com>2015-05-11 23:27:08 -0500
committerEric Merritt <eric@afiniate.com>2015-05-24 12:32:52 -0700
commit21fa39af2ed484e29e53edac125a6b8ebee58c53 (patch)
tree1fc5a3c398ae19ecc2c174c35622c57148c11884 /pkgs/development/ocaml-modules
parenta88b7ed9087e5b772ce1343159e5f6ccd76a0de4 (diff)
downloadnixlib-21fa39af2ed484e29e53edac125a6b8ebee58c53.tar
nixlib-21fa39af2ed484e29e53edac125a6b8ebee58c53.tar.gz
nixlib-21fa39af2ed484e29e53edac125a6b8ebee58c53.tar.bz2
nixlib-21fa39af2ed484e29e53edac125a6b8ebee58c53.tar.lz
nixlib-21fa39af2ed484e29e53edac125a6b8ebee58c53.tar.xz
nixlib-21fa39af2ed484e29e53edac125a6b8ebee58c53.tar.zst
nixlib-21fa39af2ed484e29e53edac125a6b8ebee58c53.zip
ocaml-comparelib: add initial version (109.60.00) to the system
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/comparelib/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/comparelib/default.nix b/pkgs/development/ocaml-modules/comparelib/default.nix
new file mode 100644
index 000000000000..950012158142
--- /dev/null
+++ b/pkgs/development/ocaml-modules/comparelib/default.nix
@@ -0,0 +1,22 @@
+{stdenv, buildOcaml, fetchurl, type_conv}:
+
+buildOcaml rec {
+  name = "comparelib";
+  version = "109.60.00";
+
+  minimumSupportedOcamlVersion = "4.00";
+
+  src = fetchurl {
+    url = "https://github.com/janestreet/comparelib/archive/${version}.tar.gz";
+    sha256 = "1075fb05e0d1e290f71ad0f6163f32b2cb4cebdc77568491c7eb38ba91f5db7e";
+  };
+
+  propagatedBuildInputs = [ type_conv ];
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/janestreet/comparelib;
+    description = "Syntax extension for deriving \"compare\" functions automatically";
+    license = licenses.asl20;
+    maintainers = [ maintainers.ericbmerritt ];
+  };
+}