summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/either/default.nix
blob: 71d16c9674c9d48bbb07a8bde9fe56a4f414e684 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 ];
  };
}