depot/third_party/nixpkgs/pkgs/by-name/np/npm-check-updates/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

33 lines
875 B
Nix

{ lib
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "npm-check-updates";
version = "17.1.15";
src = fetchFromGitHub {
owner = "raineorshine";
repo = "npm-check-updates";
rev = "refs/tags/v${version}";
hash = "sha256-NewFg7eKhBMgMrjLQ1/n+CytcOZEaMMr/PNgA57Irw8=";
};
npmDepsHash = "sha256-qF3p+P+CJvpDhx0ddPnz6A7N9yC9+6uXWQCWFo9k30c=";
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 ];
};
}