summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Merritt <eric@afiniate.com>2015-05-15 09:27:54 -0500
committerEric Merritt <eric@afiniate.com>2015-05-24 12:32:54 -0700
commit86e8c73d7b075bde8e9731690fa9c6bdd76bba18 (patch)
tree7e47fa0fc671f1a3272d7475c9833a736ae5e037
parent8a9d5637bc8efc2cb636ffc39a3ccc312f00dbac (diff)
downloadnixlib-86e8c73d7b075bde8e9731690fa9c6bdd76bba18.tar
nixlib-86e8c73d7b075bde8e9731690fa9c6bdd76bba18.tar.gz
nixlib-86e8c73d7b075bde8e9731690fa9c6bdd76bba18.tar.bz2
nixlib-86e8c73d7b075bde8e9731690fa9c6bdd76bba18.tar.lz
nixlib-86e8c73d7b075bde8e9731690fa9c6bdd76bba18.tar.xz
nixlib-86e8c73d7b075bde8e9731690fa9c6bdd76bba18.tar.zst
nixlib-86e8c73d7b075bde8e9731690fa9c6bdd76bba18.zip
ocaml-herelib: add initial version (109.35.02) to the system
-rw-r--r--pkgs/development/ocaml-modules/herelib/default.nix20
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/herelib/default.nix b/pkgs/development/ocaml-modules/herelib/default.nix
new file mode 100644
index 000000000000..fd955602844e
--- /dev/null
+++ b/pkgs/development/ocaml-modules/herelib/default.nix
@@ -0,0 +1,20 @@
+{stdenv, buildOcaml, fetchurl}:
+
+buildOcaml rec {
+  version = "109.35.02";
+  name = "herelib";
+
+  minimumSupportedOcamlVersion = "4.02";
+
+  src = fetchurl {
+    url = "https://github.com/janestreet/herelib/archive/${version}.tar.gz";
+    sha256 = "7f8394169cb63f6d41e91c9affa1b8ec240d5f6e9dfeda3fbb611df521d4b05a";
+  };
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/janestreet/herelib;
+    description = "Syntax extension for inserting the current location";
+    license = stdenv.lib.licenses.asl20;
+    maintainers = [ maintainers.ericbmerritt ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index f0ade1baffc5..8a624670c83d 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -4156,6 +4156,8 @@ let
 
     functory = callPackage ../development/ocaml-modules/functory { };
 
+    herelib = callPackage ../development/ocaml-modules/herelib { };
+
     io-page = callPackage ../development/ocaml-modules/io-page { };
 
     javalib = callPackage ../development/ocaml-modules/javalib {