Merge pull request #229692 from ehllie/nest-cli

nest-cli: repackage using buildNpmPackage
This commit is contained in:
Sandro 2023-05-06 16:10:11 +02:00 committed by GitHub
commit 75b4d0ff2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 16005 additions and 320 deletions

View file

@ -35,4 +35,5 @@ in
mapAliases ({
"@githubnext/github-copilot-cli" = pkgs.github-copilot-cli; # Added 2023-05-02
"@nestjs/cli" = pkgs.nest-cli;
})

View file

@ -24,7 +24,6 @@
"@medable/mdctl-cli" = "mdctl";
"@mermaid-js/mermaid-cli" = "mmdc";
"@nerdwallet/shepherd" = "shepherd";
"@nestjs/cli" = "nest";
"@prisma/language-server" = "prisma-language-server";
"@tailwindcss/language-server" = "tailwindcss-language-server";
"@uppy/companion" = "companion";

View file

@ -13,7 +13,6 @@
, "@medable/mdctl-cli"
, "@microsoft/rush"
, "@nerdwallet/shepherd"
, "@nestjs/cli"
, "@shopify/cli"
, "@squoosh/cli"
, "@tailwindcss/aspect-ratio"

View file

@ -90411,324 +90411,6 @@ in
bypassCache = true;
reconstructLock = true;
};
"@nestjs/cli" = nodeEnv.buildNodePackage {
name = "_at_nestjs_slash_cli";
packageName = "@nestjs/cli";
version = "9.4.2";
src = fetchurl {
url = "https://registry.npmjs.org/@nestjs/cli/-/cli-9.4.2.tgz";
sha512 = "QWpk3UkpcAIvlqh2sSc6atHyaNFl7POi45Ujd5sAtVNogzpGphOlSyh39XuJcpe0FP3Z9IxX/0AUHF7KL/VyJQ==";
};
dependencies = [
sources."@angular-devkit/core-15.2.6"
sources."@angular-devkit/schematics-15.2.6"
(sources."@angular-devkit/schematics-cli-15.2.6" // {
dependencies = [
sources."inquirer-8.2.4"
sources."rxjs-7.8.1"
sources."tslib-2.5.0"
];
})
sources."@babel/code-frame-7.21.4"
sources."@babel/helper-validator-identifier-7.19.1"
(sources."@babel/highlight-7.18.6" // {
dependencies = [
sources."ansi-styles-3.2.1"
sources."chalk-2.4.2"
sources."color-convert-1.9.3"
sources."color-name-1.1.3"
sources."has-flag-3.0.0"
sources."supports-color-5.5.0"
];
})
sources."@colors/colors-1.5.0"
sources."@jridgewell/gen-mapping-0.3.3"
sources."@jridgewell/resolve-uri-3.1.0"
sources."@jridgewell/set-array-1.1.2"
sources."@jridgewell/source-map-0.3.3"
sources."@jridgewell/sourcemap-codec-1.4.15"
(sources."@jridgewell/trace-mapping-0.3.18" // {
dependencies = [
sources."@jridgewell/sourcemap-codec-1.4.14"
];
})
(sources."@nestjs/schematics-9.1.0" // {
dependencies = [
sources."@angular-devkit/core-15.2.4"
sources."@angular-devkit/schematics-15.2.4"
];
})
sources."@types/eslint-8.37.0"
sources."@types/eslint-scope-3.7.4"
sources."@types/estree-1.0.1"
sources."@types/json-schema-7.0.11"
sources."@types/node-18.16.3"
sources."@types/parse-json-4.0.0"
sources."@webassemblyjs/ast-1.11.5"
sources."@webassemblyjs/floating-point-hex-parser-1.11.5"
sources."@webassemblyjs/helper-api-error-1.11.5"
sources."@webassemblyjs/helper-buffer-1.11.5"
sources."@webassemblyjs/helper-numbers-1.11.5"
sources."@webassemblyjs/helper-wasm-bytecode-1.11.5"
sources."@webassemblyjs/helper-wasm-section-1.11.5"
sources."@webassemblyjs/ieee754-1.11.5"
sources."@webassemblyjs/leb128-1.11.5"
sources."@webassemblyjs/utf8-1.11.5"
sources."@webassemblyjs/wasm-edit-1.11.5"
sources."@webassemblyjs/wasm-gen-1.11.5"
sources."@webassemblyjs/wasm-opt-1.11.5"
sources."@webassemblyjs/wasm-parser-1.11.5"
sources."@webassemblyjs/wast-printer-1.11.5"
sources."@xtuc/ieee754-1.2.0"
sources."@xtuc/long-4.2.2"
sources."acorn-8.8.2"
sources."acorn-import-assertions-1.8.0"
sources."ajv-8.12.0"
sources."ajv-formats-2.1.1"
(sources."ajv-keywords-3.5.2" // {
dependencies = [
sources."ajv-6.12.6"
sources."json-schema-traverse-0.4.1"
];
})
sources."ansi-colors-4.1.3"
sources."ansi-escapes-4.3.2"
sources."ansi-regex-5.0.1"
sources."ansi-styles-4.3.0"
sources."anymatch-3.1.3"
sources."balanced-match-1.0.2"
sources."base64-js-1.5.1"
sources."binary-extensions-2.2.0"
sources."bl-4.1.0"
sources."brace-expansion-1.1.11"
sources."braces-3.0.2"
sources."browserslist-4.21.5"
sources."buffer-5.7.1"
sources."buffer-from-1.1.2"
sources."callsites-3.1.0"
sources."caniuse-lite-1.0.30001482"
sources."chalk-4.1.2"
sources."chardet-0.7.0"
sources."chokidar-3.5.3"
sources."chrome-trace-event-1.0.3"
sources."cli-cursor-3.1.0"
sources."cli-spinners-2.9.0"
sources."cli-table3-0.6.3"
sources."cli-width-3.0.0"
sources."clone-1.0.4"
sources."color-convert-2.0.1"
sources."color-name-1.1.4"
sources."commander-4.1.1"
sources."concat-map-0.0.1"
sources."cosmiconfig-7.1.0"
sources."cross-spawn-7.0.3"
sources."deepmerge-4.3.1"
sources."defaults-1.0.4"
sources."electron-to-chromium-1.4.379"
sources."emoji-regex-8.0.0"
sources."end-of-stream-1.4.4"
sources."enhanced-resolve-5.13.0"
sources."error-ex-1.3.2"
sources."es-module-lexer-1.2.1"
sources."escalade-3.1.1"
sources."escape-string-regexp-1.0.5"
sources."eslint-scope-5.1.1"
(sources."esrecurse-4.3.0" // {
dependencies = [
sources."estraverse-5.3.0"
];
})
sources."estraverse-4.3.0"
sources."events-3.3.0"
sources."execa-4.1.0"
sources."external-editor-3.1.0"
sources."fast-deep-equal-3.1.3"
sources."fast-json-stable-stringify-2.1.0"
sources."figures-3.2.0"
sources."fill-range-7.0.1"
sources."fork-ts-checker-webpack-plugin-8.0.0"
sources."fs-extra-10.1.0"
sources."fs-monkey-1.0.3"
sources."fs.realpath-1.0.0"
sources."fsevents-2.3.2"
sources."function-bind-1.1.1"
sources."get-stream-5.2.0"
(sources."glob-9.3.5" // {
dependencies = [
sources."brace-expansion-2.0.1"
sources."minimatch-8.0.4"
];
})
sources."glob-parent-5.1.2"
sources."glob-to-regexp-0.4.1"
sources."graceful-fs-4.2.11"
sources."has-1.0.3"
sources."has-flag-4.0.0"
sources."human-signals-1.1.1"
sources."iconv-lite-0.4.24"
sources."ieee754-1.2.1"
sources."import-fresh-3.3.0"
sources."inflight-1.0.6"
sources."inherits-2.0.4"
(sources."inquirer-8.2.5" // {
dependencies = [
sources."rxjs-7.8.1"
sources."tslib-2.5.0"
];
})
sources."interpret-1.4.0"
sources."is-arrayish-0.2.1"
sources."is-binary-path-2.1.0"
sources."is-core-module-2.12.0"
sources."is-extglob-2.1.1"
sources."is-fullwidth-code-point-3.0.0"
sources."is-glob-4.0.3"
sources."is-interactive-1.0.0"
sources."is-number-7.0.0"
sources."is-stream-2.0.1"
sources."is-unicode-supported-0.1.0"
sources."isexe-2.0.0"
(sources."jest-worker-27.5.1" // {
dependencies = [
sources."supports-color-8.1.1"
];
})
sources."js-tokens-4.0.0"
sources."json-parse-even-better-errors-2.3.1"
sources."json-schema-traverse-1.0.0"
sources."json5-2.2.3"
sources."jsonc-parser-3.2.0"
sources."jsonfile-6.1.0"
sources."lines-and-columns-1.2.4"
sources."loader-runner-4.3.0"
sources."lodash-4.17.21"
sources."log-symbols-4.1.0"
sources."lru-cache-6.0.0"
sources."macos-release-2.5.1"
sources."magic-string-0.29.0"
sources."memfs-3.5.1"
sources."merge-stream-2.0.0"
sources."mime-db-1.52.0"
sources."mime-types-2.1.35"
sources."mimic-fn-2.1.0"
sources."minimatch-3.1.2"
sources."minimist-1.2.8"
sources."minipass-4.2.8"
sources."mute-stream-0.0.8"
sources."neo-async-2.6.2"
sources."node-abort-controller-3.1.1"
sources."node-emoji-1.11.0"
sources."node-releases-2.0.10"
sources."normalize-path-3.0.0"
sources."npm-run-path-4.0.1"
sources."once-1.4.0"
sources."onetime-5.1.2"
sources."ora-5.4.1"
sources."os-name-4.0.1"
sources."os-tmpdir-1.0.2"
sources."parent-module-1.0.1"
sources."parse-json-5.2.0"
sources."path-is-absolute-1.0.1"
sources."path-key-3.1.1"
sources."path-parse-1.0.7"
(sources."path-scurry-1.7.0" // {
dependencies = [
sources."lru-cache-9.1.1"
sources."minipass-5.0.0"
];
})
sources."path-type-4.0.0"
sources."picocolors-1.0.0"
sources."picomatch-2.3.1"
sources."pluralize-8.0.0"
sources."pump-3.0.0"
sources."punycode-2.3.0"
sources."randombytes-2.1.0"
sources."readable-stream-3.6.2"
sources."readdirp-3.6.0"
sources."rechoir-0.6.2"
sources."require-from-string-2.0.2"
sources."resolve-1.22.3"
sources."resolve-from-4.0.0"
sources."restore-cursor-3.1.0"
sources."rimraf-4.4.1"
sources."run-async-2.4.1"
sources."rxjs-6.6.7"
sources."safe-buffer-5.2.1"
sources."safer-buffer-2.1.2"
(sources."schema-utils-3.1.2" // {
dependencies = [
sources."ajv-6.12.6"
sources."json-schema-traverse-0.4.1"
];
})
sources."semver-7.5.0"
sources."serialize-javascript-6.0.1"
sources."shebang-command-2.0.0"
sources."shebang-regex-3.0.0"
(sources."shelljs-0.8.5" // {
dependencies = [
sources."glob-7.2.3"
];
})
sources."signal-exit-3.0.7"
sources."source-map-0.7.4"
(sources."source-map-support-0.5.21" // {
dependencies = [
sources."source-map-0.6.1"
];
})
sources."string-width-4.2.3"
sources."string_decoder-1.3.0"
sources."strip-ansi-6.0.1"
sources."strip-bom-3.0.0"
sources."strip-final-newline-2.0.0"
sources."supports-color-7.2.0"
sources."supports-preserve-symlinks-flag-1.0.0"
sources."symbol-observable-4.0.0"
sources."tapable-2.2.1"
(sources."terser-5.17.1" // {
dependencies = [
sources."commander-2.20.3"
];
})
sources."terser-webpack-plugin-5.3.7"
sources."through-2.3.8"
sources."tmp-0.0.33"
sources."to-regex-range-5.0.1"
sources."tree-kill-1.2.2"
sources."tsconfig-paths-4.2.0"
sources."tsconfig-paths-webpack-plugin-4.0.1"
sources."tslib-1.14.1"
sources."type-fest-0.21.3"
sources."typescript-4.9.5"
sources."universalify-2.0.0"
sources."update-browserslist-db-1.0.11"
sources."uri-js-4.4.1"
sources."util-deprecate-1.0.2"
sources."watchpack-2.4.0"
sources."wcwidth-1.0.1"
sources."webpack-5.80.0"
sources."webpack-node-externals-3.0.0"
sources."webpack-sources-3.2.3"
sources."which-2.0.2"
sources."windows-release-4.0.0"
sources."wrap-ansi-7.0.0"
sources."wrappy-1.0.2"
sources."yallist-4.0.0"
sources."yaml-1.10.2"
sources."yargs-parser-21.1.1"
];
buildInputs = globalBuildInputs;
meta = {
description = "Nest - modern, fast, powerful node.js web framework (@cli)";
homepage = "https://github.com/nestjs/nest-cli#readme";
license = "MIT";
};
production = true;
bypassCache = true;
reconstructLock = true;
};
"@shopify/cli" = nodeEnv.buildNodePackage {
name = "_at_shopify_slash_cli";
packageName = "@shopify/cli";

View file

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

File diff suppressed because it is too large Load diff

View file

@ -5449,6 +5449,8 @@ with pkgs;
n2n = callPackage ../tools/networking/n2n { };
nest-cli = callPackage ../development/tools/nest-cli { };
nextdns = callPackage ../applications/networking/nextdns { };
nexttrace = callPackage ../tools/networking/nexttrace { };