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
41 lines
604 B
Nix
41 lines
604 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildDunePackage,
|
|
defaultVersion ? "0.17.0",
|
|
}:
|
|
|
|
{
|
|
pname,
|
|
version ? defaultVersion,
|
|
hash,
|
|
minimalOCamlVersion ? "5.1",
|
|
doCheck ? true,
|
|
buildInputs ? [ ],
|
|
...
|
|
}@args:
|
|
|
|
buildDunePackage (
|
|
args
|
|
// {
|
|
inherit version buildInputs;
|
|
|
|
inherit minimalOCamlVersion;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "janestreet";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = hash;
|
|
};
|
|
|
|
inherit doCheck;
|
|
|
|
meta = {
|
|
license = lib.licenses.mit;
|
|
homepage = "https://github.com/janestreet/${pname}";
|
|
}
|
|
// args.meta;
|
|
}
|
|
)
|