2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 14:43:37 +00:00
nixpkgs/pkgs/development/tools/nest-cli/default.nix
2023-05-06 12:39:06 +02:00

33 lines
770 B
Nix

{ buildNpmPackage
, fetchFromGitHub
, lib
}:
buildNpmPackage rec {
pname = "nest-cli";
version = "9.4.2";
src = fetchFromGitHub {
owner = "nestjs";
repo = pname;
rev = version;
hash = "sha256-9I6ez75byOPVKvX93Yv1qSM3JaWlmmvZCTjNB++cmw0=";
};
# 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-QA2ZgbXiG84HuutJ2ZCGMrnqpwrPlHL/Bur7Pak8WcQ=";
meta = with lib; {
description = "CLI tool for Nest applications 🍹";
homepage = "https://nestjs.com";
license = licenses.mit;
maintainers = [ maintainers.ehllie ];
};
}