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
35 lines
879 B
Nix
35 lines
879 B
Nix
{
|
|
lib,
|
|
buildNpmPackage,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "npm-check-updates";
|
|
version = "19.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "raineorshine";
|
|
repo = "npm-check-updates";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-C3W3Yt28MpKEW7a8BXD2e/dzJhR9WHPrqPDo3ohTYpU=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-dpVPfBbazloSg0WVlgyGfMjOxLhALUyQDOBqM0Z915o=";
|
|
|
|
postPatch = ''
|
|
sed -i '/"prepare"/d' package.json
|
|
'';
|
|
|
|
makeCacheWritable = true;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/raineorshine/npm-check-updates/blob/${src.rev}/CHANGELOG.md";
|
|
description = "Find newer versions of package dependencies than what your package.json allows";
|
|
homepage = "https://github.com/raineorshine/npm-check-updates";
|
|
license = lib.licenses.asl20;
|
|
mainProgram = "ncu";
|
|
maintainers = with lib.maintainers; [ flosse ];
|
|
};
|
|
}
|