-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nest-cli: repackage using buildNpmPackage
- Loading branch information
Showing
4 changed files
with
16,004 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ 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 ]; | ||
}; | ||
} |
Oops, something went wrong.