summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorEric Merritt <eric@afiniate.com>2015-05-24 11:36:25 -0700
committerEric Merritt <eric@afiniate.com>2015-05-25 10:16:43 -0700
commitc7ba42a516d8480d783d7b723082a9e3b0d209d9 (patch)
tree82dfc99ce75dcf8755072d182ab5cf06399f528c /pkgs
parentda56bd300265ff12b62b1c642dd05f2f8ee50be1 (diff)
downloadnixlib-c7ba42a516d8480d783d7b723082a9e3b0d209d9.tar
nixlib-c7ba42a516d8480d783d7b723082a9e3b0d209d9.tar.gz
nixlib-c7ba42a516d8480d783d7b723082a9e3b0d209d9.tar.bz2
nixlib-c7ba42a516d8480d783d7b723082a9e3b0d209d9.tar.lz
nixlib-c7ba42a516d8480d783d7b723082a9e3b0d209d9.tar.xz
nixlib-c7ba42a516d8480d783d7b723082a9e3b0d209d9.tar.zst
nixlib-c7ba42a516d8480d783d7b723082a9e3b0d209d9.zip
ocaml-core_extended: add initial version (112.24.00) to the system
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/ocaml-modules/core_extended/default.nix26
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/core_extended/default.nix b/pkgs/development/ocaml-modules/core_extended/default.nix
new file mode 100644
index 000000000000..f311aae3d304
--- /dev/null
+++ b/pkgs/development/ocaml-modules/core_extended/default.nix
@@ -0,0 +1,26 @@
+{stdenv, buildOcaml, fetchurl, bin_prot, comparelib, core, custom_printf,
+ fieldslib, pa_bench, pa_ounit, pipebang, pa_test, textutils, re2, sexplib}:
+
+buildOcaml rec {
+  name = "core_extended";
+  version = "112.24.00";
+
+  minimumSupportedOcamlVersion = "4.02";
+
+  src = fetchurl {
+    url = "https://github.com/janestreet/core_extended/archive/${version}.tar.gz";
+    sha256 = "f87b0661b6c2cfb545ec61d1cb2ab1b9c4967b6ac14e651de41d3a6fb7f0f1e3";
+  };
+
+  hasSharedObjects = true;
+  buildInputs = [ pa_bench pa_test pa_ounit ];
+  propagatedBuildInputs = [bin_prot comparelib core custom_printf fieldslib
+                           pipebang textutils re2 sexplib ];
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/janestreet/core_extended;
+    description = "Jane Street Capital's standard library overlay";
+    license = licenses.asl20;
+    maintainers = [ maintainers.ericbmerritt ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 298035dadc95..b28663f46d00 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -4250,6 +4250,8 @@ let
 
     comparelib = callPackage ../development/ocaml-modules/comparelib { };
 
+    core_extended = callPackage ../development/ocaml-modules/core_extended { };
+
     core_kernel = callPackage ../development/ocaml-modules/core_kernel { };
 
     core = callPackage ../development/ocaml-modules/core { };