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
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildNpmPackage,
|
|
fetchFromGitHub,
|
|
testers,
|
|
elm-review,
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "elm-review";
|
|
version = "2.13.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jfmengels";
|
|
repo = "node-elm-review";
|
|
rev = "v${version}";
|
|
hash = "sha256-rhNLIShZERxrzdTdrPcthTQ+gHUikgR0jchBfcBDGTo=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-mI94fYNKZ9Jx1Iyo/VjZqaXQ64tZA2S8mtn5l6TtCSc=";
|
|
|
|
postPatch = ''
|
|
sed -i "s/elm-tooling install/echo 'skipping elm-tooling install'/g" package.json
|
|
'';
|
|
|
|
dontNpmBuild = true;
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
version = "${version}";
|
|
package = elm-review;
|
|
command = "elm-review --version";
|
|
};
|
|
|
|
meta = {
|
|
changelog = "https://github.com/jfmengels/node-elm-review/blob/v${src.rev}/CHANGELOG.md";
|
|
description = "Analyzes Elm projects, to help find mistakes before your users find them";
|
|
mainProgram = "elm-review";
|
|
homepage = "https://github.com/jfmengels/node-elm-review";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [
|
|
turbomack
|
|
zupo
|
|
];
|
|
};
|
|
}
|