Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
27 lines
687 B
Nix
27 lines
687 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
fetchurl,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "result";
|
|
version = "1.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/janestreet/result/releases/download/${version}/result-${version}.tbz";
|
|
sha256 = "0cpfp35fdwnv3p30a06wd0py3805qxmq3jmcynjc3x2qhlimwfkw";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/janestreet/result";
|
|
description = "Compatibility Result module";
|
|
longDescription = ''
|
|
Projects that want to use the new result type defined in OCaml >= 4.03
|
|
while staying compatible with older version of OCaml should use the
|
|
Result module defined in this library.
|
|
'';
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|