summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/either
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-01-19 10:27:15 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2021-01-24 21:04:02 +0100
commit7fee56ec59fd460fe0e4cff2f072a1457f23ba41 (patch)
tree5e7d74bf9b444c6f770df4677cd2614078b860a4 /pkgs/development/ocaml-modules/either
parentfe111fc67937c22ffc84e4466f494366583124b7 (diff)
downloadnixpkgs-7fee56ec59fd460fe0e4cff2f072a1457f23ba41.tar
nixpkgs-7fee56ec59fd460fe0e4cff2f072a1457f23ba41.tar.gz
nixpkgs-7fee56ec59fd460fe0e4cff2f072a1457f23ba41.tar.bz2
nixpkgs-7fee56ec59fd460fe0e4cff2f072a1457f23ba41.tar.lz
nixpkgs-7fee56ec59fd460fe0e4cff2f072a1457f23ba41.tar.xz
nixpkgs-7fee56ec59fd460fe0e4cff2f072a1457f23ba41.tar.zst
nixpkgs-7fee56ec59fd460fe0e4cff2f072a1457f23ba41.zip
ocamlPackages.either: init at 1.0.0
Diffstat (limited to 'pkgs/development/ocaml-modules/either')
-rw-r--r--pkgs/development/ocaml-modules/either/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/either/default.nix b/pkgs/development/ocaml-modules/either/default.nix
new file mode 100644
index 00000000000..71d16c9674c
--- /dev/null
+++ b/pkgs/development/ocaml-modules/either/default.nix
@@ -0,0 +1,20 @@
+{ lib, buildDunePackage, fetchurl }:
+
+buildDunePackage rec {
+  pname = "either";
+  version = "1.0.0";
+
+  src = fetchurl {
+    url = "https://github.com/mirage/either/releases/download/${version}/either-${version}.tbz";
+    sha256 = "bf674de3312dee7b7215f07df1e8a96eb3d679164b8a918cdd95b8d97e505884";
+  };
+
+  useDune2 = true;
+
+  meta = with lib; {
+    description = "Compatibility Either module";
+    license = licenses.mit;
+    homepage = "https://github.com/mirage/either";
+    maintainers = [ maintainers.sternenseemann ];
+  };
+}