about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/bigarray-compat
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-08-24 07:02:21 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2019-08-31 06:55:26 +0000
commit10ffd51a96dc2f341f2aaf93b564dca7e8a2d555 (patch)
tree9557dfc61264e3231c4c05c40b756f0b5373c32f /pkgs/development/ocaml-modules/bigarray-compat
parente9edc7537a86fb1ab7b4c9637b414ed2ea70b8a4 (diff)
ocamlPackages.bigarray-compat: init at 1.0.0
Diffstat (limited to 'pkgs/development/ocaml-modules/bigarray-compat')
-rw-r--r--pkgs/development/ocaml-modules/bigarray-compat/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/bigarray-compat/default.nix b/pkgs/development/ocaml-modules/bigarray-compat/default.nix
new file mode 100644
index 0000000000000..6d833b48f2696
--- /dev/null
+++ b/pkgs/development/ocaml-modules/bigarray-compat/default.nix
@@ -0,0 +1,20 @@
+{ lib, buildDunePackage, fetchFromGitHub }:
+
+buildDunePackage rec {
+  pname = "bigarray-compat";
+  version = "1.0.0";
+
+  src = fetchFromGitHub {
+    owner = "mirage";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "06j1dwlpisxshdd0nab4n4x266gg1s1n8na16lpgw3fvcznwnimz";
+  };
+
+  meta = {
+    description = "Compatibility library to use Stdlib.Bigarray when possible";
+    inherit (src.meta) homepage;
+    license = lib.licenses.isc;
+    maintainers = [ lib.maintainers.vbgl ];
+  };
+}