summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/herelib
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 /pkgs/development/ocaml-modules/herelib
parent8a9d5637bc8efc2cb636ffc39a3ccc312f00dbac (diff)
ocaml-herelib: add initial version (109.35.02) to the system
Diffstat (limited to 'pkgs/development/ocaml-modules/herelib')
-rw-r--r--pkgs/development/ocaml-modules/herelib/default.nix20
1 files changed, 20 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 ];
+ };
+}