Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildNpmPackage 2, fetchFromGitHub 3, lib 4}: 5 6buildNpmPackage rec { 7 pname = "nest-cli"; 8 version = "9.4.2"; 9 10 src = fetchFromGitHub { 11 owner = "nestjs"; 12 repo = pname; 13 rev = version; 14 hash = "sha256-9I6ez75byOPVKvX93Yv1qSM3JaWlmmvZCTjNB++cmw0="; 15 }; 16 17 # Generated a new package-lock.json by running `npm upgrade` 18 # The upstream lockfile is using an old version of `fsevents`, 19 # which does not build on Darwin 20 postPatch = '' 21 cp ${./package-lock.json} ./package-lock.json 22 ''; 23 24 npmDepsHash = "sha256-QA2ZgbXiG84HuutJ2ZCGMrnqpwrPlHL/Bur7Pak8WcQ="; 25 26 meta = with lib; { 27 description = "CLI tool for Nest applications 🍹"; 28 homepage = "https://nestjs.com"; 29 license = licenses.mit; 30 maintainers = [ maintainers.ehllie ]; 31 }; 32}