npm-check: init at 6.0.1 (#237510)
* npm-check: init at 6.0.1 * Update pkgs/development/tools/npm-check/default.nix Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com> * Update pkgs/development/tools/npm-check/default.nix Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com> * Fix semicolon * Add changelog * Update pkgs/development/tools/npm-check/default.nix Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com> --------- Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>
This commit is contained in:
parent
871c5594d1
commit
44956ebcbc
2 changed files with 32 additions and 0 deletions
30
pkgs/development/tools/npm-check/default.nix
Normal file
30
pkgs/development/tools/npm-check/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{ buildNpmPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, lib
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildNpmPackage rec {
|
||||||
|
pname = "npm-check";
|
||||||
|
version = "6.0.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dylang";
|
||||||
|
repo = "npm-check";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-F7bMvGqOxJzoaw25VR6D90UNwT8HxZ4PZhhQEvQFDn4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
npmDepsHash = "sha256-KRLgLWikcCWMF8/cOxThom6DHE9ar6WO/9HtosJQnLE=";
|
||||||
|
|
||||||
|
npmFlags = [ "--legacy-peer-deps" ];
|
||||||
|
|
||||||
|
dontNpmBuild = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Check for outdated, incorrect, and unused dependencies";
|
||||||
|
homepage = "https://github.com/dylang/npm-check";
|
||||||
|
changelog = "https://github.com/dylang/npm-check/releases/tag/v${version}";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.thomasjm ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -10611,6 +10611,8 @@ with pkgs;
|
||||||
|
|
||||||
notable = callPackage ../applications/misc/notable { };
|
notable = callPackage ../applications/misc/notable { };
|
||||||
|
|
||||||
|
npm-check = callPackage ../development/tools/npm-check { };
|
||||||
|
|
||||||
nth = with python3Packages; toPythonApplication name-that-hash;
|
nth = with python3Packages; toPythonApplication name-that-hash;
|
||||||
|
|
||||||
ntlmrecon = callPackage ../tools/security/ntlmrecon { };
|
ntlmrecon = callPackage ../tools/security/ntlmrecon { };
|
||||||
|
|
Loading…
Reference in a new issue