Unverified Commit 78a80c31 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

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

nest-cli: 9.4.2 -> 10.1.17
parents ac50b4a9 a94ba027
Loading
Loading
Loading
Loading
+20 −10
Original line number Diff line number Diff line
{ 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
  };
}
+0 −15970

File deleted.

Preview size limit exceeded, changes collapsed.