about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/stdlib-shims
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-02-23 15:11:26 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2019-03-03 11:45:21 +0100
commit93ce3df6b51d19afded3b50d99d7e88912cbc810 (patch)
treecfa5f6e8ee5bbc9bd845378a705e3fa4b6e25602 /pkgs/development/ocaml-modules/stdlib-shims
parentbf483b6e4e84d15e8924fa3ec480b814ce068280 (diff)
ocamlPackages.stdlib-shims: init at 0.1.0
Diffstat (limited to 'pkgs/development/ocaml-modules/stdlib-shims')
-rw-r--r--pkgs/development/ocaml-modules/stdlib-shims/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/stdlib-shims/default.nix b/pkgs/development/ocaml-modules/stdlib-shims/default.nix
new file mode 100644
index 0000000000000..d76ec29e63aa5
--- /dev/null
+++ b/pkgs/development/ocaml-modules/stdlib-shims/default.nix
@@ -0,0 +1,18 @@
+{ buildDunePackage, lib, fetchurl, ocaml }:
+
+buildDunePackage rec {
+  pname = "stdlib-shims";
+  version = "0.1.0";
+  src = fetchurl {
+    url = "https://github.com/ocaml/${pname}/releases/download/${version}/${pname}-${version}.tbz";
+    sha256 = "1jv6yb47f66239m7hsz7zzw3i48mjpbvfgpszws48apqx63wjwsk";
+  };
+  minimumOCamlVersion = "4.02";
+  doCheck = true;
+  meta = {
+    description = "Shims for forward-compatibility between versions of the OCaml standard library";
+    homepage = "https://github.com/ocaml/stdlib-shims";
+    inherit (ocaml.meta) license;
+    maintainers = [ lib.maintainers.vbgl ];
+  };
+}