Merge pull request #254462 from dotlambda/nest-cli-10.1.17
nest-cli: 9.4.2 -> 10.1.17
This commit is contained in:
commit
78a80c31e6
@ -1,32 +1,42 @@
|
||||
{ buildNpmPackage
|
||||
, darwin
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, python3
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "nest-cli";
|
||||
version = "9.4.2";
|
||||
version = "10.1.17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nestjs";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-9I6ez75byOPVKvX93Yv1qSM3JaWlmmvZCTjNB++cmw0=";
|
||||
hash = "sha256-03GDrKjlvl3O3kJlbbyDYxtlfwLkZbvxC9gvP534zSY=";
|
||||
};
|
||||
|
||||
# Generated a new package-lock.json by running `npm upgrade`
|
||||
# The upstream lockfile is using an old version of `fsevents`,
|
||||
# which does not build on Darwin
|
||||
postPatch = ''
|
||||
cp ${./package-lock.json} ./package-lock.json
|
||||
'';
|
||||
npmDepsHash = "sha256-nZ9ant2c+15bRBikFcKZW8aiFqI3WC6hktSiBfnma/I=";
|
||||
|
||||
npmDepsHash = "sha256-QA2ZgbXiG84HuutJ2ZCGMrnqpwrPlHL/Bur7Pak8WcQ=";
|
||||
env = {
|
||||
npm_config_build_from_source = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreServices
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI tool for Nest applications 🍹";
|
||||
description = "CLI tool for Nest applications";
|
||||
homepage = "https://nestjs.com";
|
||||
license = licenses.mit;
|
||||
mainProgram = "nest";
|
||||
maintainers = [ maintainers.ehllie ];
|
||||
broken = stdenv.isDarwin; # https://github.com/nestjs/nest-cli/pull/2281
|
||||
};
|
||||
}
|
||||
|
15970
pkgs/development/tools/nest-cli/package-lock.json
generated
15970
pkgs/development/tools/nest-cli/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user