summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/either/default.nix
blob: 5d69f1d37aa413b399800889da40f409f6d8e696 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  lib,
  buildDunePackage,
  fetchurl,
}:

buildDunePackage (finalAttrs: {
  pname = "either";
  version = "1.0.0";

  src = fetchurl {
    url = "https://github.com/mirage/either/releases/download/${finalAttrs.version}/either-${finalAttrs.version}.tbz";
    hash = "sha256-v2dN4zEt7ntyFfB98eipbrPWeRZLipGM3ZW42X5QWIQ=";
  };

  meta = {
    description = "Compatibility Either module";
    license = lib.licenses.mit;
    homepage = "https://github.com/mirage/either";
    maintainers = [ lib.maintainers.sternenseemann ];
  };
})