summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/core_kernel
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/core_kernel
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/core_kernel')
-rw-r--r--pkgs/development/ocaml-modules/core_kernel/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/core_kernel/default.nix b/pkgs/development/ocaml-modules/core_kernel/default.nix
new file mode 100644
index 000000000000..0fed12b195d6
--- /dev/null
+++ b/pkgs/development/ocaml-modules/core_kernel/default.nix
@@ -0,0 +1,30 @@
+{stdenv, buildOcaml, fetchurl, type_conv,
+ bin_prot, comparelib, custom_printf, enumerate,
+ fieldslib, herelib, pa_bench, pa_test, pa_ounit,
+ pipebang, sexplib, typerep, variantslib}:
+
+buildOcaml rec {
+  name = "core_kernel";
+  version = "112.24.00";
+
+  minimumSupportedOcamlVersion = "4.02";
+
+  src = fetchurl {
+    url = "https://github.com/janestreet/core_kernel/archive/${version}.tar.gz";
+    sha256 = "93e1f21e35ade98a2bfbe45ba76eef4a8ad3fed97cdc0769f96e0fcc86d6a761";
+  };
+
+  hasSharedObjects = true;
+
+  buildInputs = [ pa_test pa_ounit ];
+  propagatedBuildInputs = [ type_conv pa_bench bin_prot comparelib custom_printf
+                            enumerate fieldslib herelib pipebang sexplib
+                            typerep variantslib ];
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/janestreet/core_kernel;
+    description = "Jane Street Capital's standard library overlay (kernel)";
+    license = licenses.asl20;
+    maintainers = [ maintainers.ericbmerritt ];
+  };
+}