Merge pull request #254462 from dotlambda/nest-cli-10.1.17

nest-cli: 9.4.2 -> 10.1.17
This commit is contained in:
Mario Rodas 2023-09-13 07:29:58 -05:00 committed by GitHub
commit 78a80c31e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 15980 deletions

View File

@ -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
};
}

File diff suppressed because it is too large Load Diff