mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
44956ebcbc
* 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>
31 lines
728 B
Nix
31 lines
728 B
Nix
{ 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 ];
|
|
};
|
|
}
|