pm2: use buildNpmPackage
This commit is contained in:
parent
2a5f24096d
commit
425cfc42bd
29
pkgs/by-name/pm/pm2/package.nix
Normal file
29
pkgs/by-name/pm/pm2/package.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ lib
|
||||
, buildNpmPackage
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "pm2";
|
||||
version = "5.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Unitech";
|
||||
repo = "pm2";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-thShqrnM5S3/IImEm+2vHVRLCsLJN5NGaSRYubtULW0=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-6M8kwiCHaQzcFyUUx7Yax/dobATWXG0Di7enEzlO8YE=";
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/Unitech/pm2/blob/${src.rev}/CHANGELOG.md";
|
||||
description = "Node.js production process manager with a built-in load balancer";
|
||||
homepage = "https://github.com/Unitech/pm2";
|
||||
license = lib.licenses.agpl3Only;
|
||||
mainProgram = "pm2";
|
||||
maintainers = with lib.maintainers; [ jeremyschlatter ];
|
||||
};
|
||||
}
|
|
@ -110,6 +110,7 @@ mapAliases {
|
|||
ocaml-language-server = throw "ocaml-language-server was removed because it was abandoned upstream"; # added 2023-09-04
|
||||
parcel-bundler = parcel; # added 2023-09-04
|
||||
pkg = pkgs.vercel-pkg; # added 2023-10-04
|
||||
inherit (pkgs) pm2; # added 2024-01-22
|
||||
prettier_d_slim = pkgs.prettier-d-slim; # added 2023-09-14
|
||||
inherit (pkgs) pxder; # added 2023-09-26
|
||||
inherit (pkgs) quicktype; # added 2023-09-09
|
||||
|
|
|
@ -187,7 +187,6 @@
|
|||
, "peerflix"
|
||||
, "peerflix-server"
|
||||
, {"pgrok-build-deps": "../../tools/networking/pgrok/build-deps"}
|
||||
, "pm2"
|
||||
, "pnpm"
|
||||
, "poor-mans-t-sql-formatter-cli"
|
||||
, "postcss"
|
||||
|
|
219
pkgs/development/node-packages/node-packages.nix
generated
219
pkgs/development/node-packages/node-packages.nix
generated
|
@ -92045,225 +92045,6 @@ in
|
|||
bypassCache = true;
|
||||
reconstructLock = true;
|
||||
};
|
||||
pm2 = nodeEnv.buildNodePackage {
|
||||
name = "pm2";
|
||||
packageName = "pm2";
|
||||
version = "5.3.0";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/pm2/-/pm2-5.3.0.tgz";
|
||||
sha512 = "xscmQiAAf6ArVmKhjKTeeN8+Td7ZKnuZFFPw1DGkdFPR/0Iyx+m+1+OpCdf9+HQopX3VPc9/wqPQHqVOfHum9w==";
|
||||
};
|
||||
dependencies = [
|
||||
(sources."@opencensus/core-0.0.9" // {
|
||||
dependencies = [
|
||||
sources."semver-5.7.2"
|
||||
];
|
||||
})
|
||||
(sources."@opencensus/propagation-b3-0.0.8" // {
|
||||
dependencies = [
|
||||
sources."@opencensus/core-0.0.8"
|
||||
sources."semver-5.7.2"
|
||||
];
|
||||
})
|
||||
(sources."@pm2/agent-2.0.3" // {
|
||||
dependencies = [
|
||||
sources."dayjs-1.8.36"
|
||||
];
|
||||
})
|
||||
(sources."@pm2/io-5.0.2" // {
|
||||
dependencies = [
|
||||
sources."async-2.6.4"
|
||||
sources."eventemitter2-6.4.9"
|
||||
sources."tslib-1.9.3"
|
||||
];
|
||||
})
|
||||
(sources."@pm2/js-api-0.6.7" // {
|
||||
dependencies = [
|
||||
sources."async-2.6.4"
|
||||
sources."eventemitter2-6.4.9"
|
||||
];
|
||||
})
|
||||
sources."@pm2/pm2-version-check-1.0.4"
|
||||
sources."@tootallnate/quickjs-emscripten-0.23.0"
|
||||
sources."agent-base-7.1.0"
|
||||
sources."amp-0.3.1"
|
||||
sources."amp-message-0.1.2"
|
||||
sources."ansi-colors-4.1.3"
|
||||
sources."ansi-styles-4.3.0"
|
||||
sources."anymatch-3.1.3"
|
||||
(sources."argparse-1.0.10" // {
|
||||
dependencies = [
|
||||
sources."sprintf-js-1.0.3"
|
||||
];
|
||||
})
|
||||
sources."ast-types-0.13.4"
|
||||
sources."async-3.2.5"
|
||||
(sources."async-listener-0.6.10" // {
|
||||
dependencies = [
|
||||
sources."semver-5.7.2"
|
||||
];
|
||||
})
|
||||
sources."axios-0.21.4"
|
||||
sources."balanced-match-1.0.2"
|
||||
sources."basic-ftp-5.0.4"
|
||||
sources."binary-extensions-2.2.0"
|
||||
sources."blessed-0.1.81"
|
||||
sources."bodec-0.1.0"
|
||||
sources."brace-expansion-1.1.11"
|
||||
sources."braces-3.0.2"
|
||||
sources."buffer-from-1.1.2"
|
||||
sources."bufferutil-4.0.8"
|
||||
sources."chalk-3.0.0"
|
||||
sources."charm-0.1.2"
|
||||
sources."chokidar-3.5.3"
|
||||
sources."cli-tableau-2.0.1"
|
||||
sources."color-convert-2.0.1"
|
||||
sources."color-name-1.1.4"
|
||||
sources."commander-2.15.1"
|
||||
sources."concat-map-0.0.1"
|
||||
sources."continuation-local-storage-3.2.1"
|
||||
sources."croner-4.1.97"
|
||||
sources."culvert-0.1.2"
|
||||
sources."data-uri-to-buffer-6.0.1"
|
||||
sources."dayjs-1.11.10"
|
||||
sources."debug-4.3.4"
|
||||
sources."degenerator-5.0.1"
|
||||
sources."emitter-listener-1.1.2"
|
||||
sources."enquirer-2.3.6"
|
||||
sources."escape-string-regexp-4.0.0"
|
||||
sources."escodegen-2.1.0"
|
||||
sources."esprima-4.0.1"
|
||||
sources."estraverse-5.3.0"
|
||||
sources."esutils-2.0.3"
|
||||
sources."eventemitter2-5.0.1"
|
||||
sources."fast-json-patch-3.1.1"
|
||||
sources."fclone-1.0.11"
|
||||
sources."fill-range-7.0.1"
|
||||
sources."follow-redirects-1.15.4"
|
||||
sources."fs-extra-8.1.0"
|
||||
sources."fs.realpath-1.0.0"
|
||||
sources."fsevents-2.3.3"
|
||||
sources."function-bind-1.1.2"
|
||||
sources."get-uri-6.0.2"
|
||||
sources."git-node-fs-1.0.0"
|
||||
sources."git-sha1-0.1.2"
|
||||
sources."glob-7.2.3"
|
||||
sources."glob-parent-5.1.2"
|
||||
sources."graceful-fs-4.2.11"
|
||||
sources."has-flag-4.0.0"
|
||||
sources."hasown-2.0.0"
|
||||
sources."http-proxy-agent-7.0.0"
|
||||
sources."https-proxy-agent-7.0.2"
|
||||
sources."iconv-lite-0.4.24"
|
||||
sources."inflight-1.0.6"
|
||||
sources."inherits-2.0.4"
|
||||
sources."ini-1.3.8"
|
||||
sources."ip-1.1.8"
|
||||
sources."is-binary-path-2.1.0"
|
||||
sources."is-core-module-2.13.1"
|
||||
sources."is-extglob-2.1.1"
|
||||
sources."is-glob-4.0.3"
|
||||
sources."is-number-7.0.0"
|
||||
sources."js-git-0.7.8"
|
||||
sources."json-stringify-safe-5.0.1"
|
||||
sources."jsonfile-4.0.0"
|
||||
sources."lazy-1.0.11"
|
||||
sources."lodash-4.17.21"
|
||||
sources."log-driver-1.2.7"
|
||||
sources."lru-cache-7.18.3"
|
||||
sources."minimatch-3.1.2"
|
||||
sources."mkdirp-1.0.4"
|
||||
sources."module-details-from-path-1.0.3"
|
||||
sources."ms-2.1.2"
|
||||
sources."mute-stream-0.0.8"
|
||||
(sources."needle-2.4.0" // {
|
||||
dependencies = [
|
||||
sources."debug-3.2.7"
|
||||
];
|
||||
})
|
||||
sources."netmask-2.0.2"
|
||||
sources."node-gyp-build-4.8.0"
|
||||
sources."normalize-path-3.0.0"
|
||||
(sources."nssocket-0.6.0" // {
|
||||
dependencies = [
|
||||
sources."eventemitter2-0.4.14"
|
||||
];
|
||||
})
|
||||
sources."once-1.4.0"
|
||||
sources."pac-proxy-agent-7.0.1"
|
||||
sources."pac-resolver-7.0.0"
|
||||
sources."pako-0.2.9"
|
||||
sources."path-is-absolute-1.0.1"
|
||||
sources."path-parse-1.0.7"
|
||||
sources."picomatch-2.3.1"
|
||||
sources."pidusage-3.0.2"
|
||||
sources."pm2-axon-4.0.1"
|
||||
sources."pm2-axon-rpc-0.7.1"
|
||||
sources."pm2-deploy-1.0.2"
|
||||
sources."pm2-multimeter-0.1.2"
|
||||
(sources."pm2-sysmonit-1.2.8" // {
|
||||
dependencies = [
|
||||
sources."pidusage-2.0.21"
|
||||
];
|
||||
})
|
||||
sources."promptly-2.2.0"
|
||||
sources."proxy-agent-6.3.1"
|
||||
sources."proxy-from-env-1.1.0"
|
||||
sources."read-1.0.7"
|
||||
sources."readdirp-3.6.0"
|
||||
sources."require-in-the-middle-5.2.0"
|
||||
sources."resolve-1.22.8"
|
||||
sources."run-series-1.1.9"
|
||||
sources."safe-buffer-5.2.1"
|
||||
sources."safer-buffer-2.1.2"
|
||||
sources."sax-1.3.0"
|
||||
(sources."semver-7.5.4" // {
|
||||
dependencies = [
|
||||
sources."lru-cache-6.0.0"
|
||||
];
|
||||
})
|
||||
sources."shimmer-1.2.1"
|
||||
sources."signal-exit-3.0.7"
|
||||
sources."smart-buffer-4.2.0"
|
||||
(sources."socks-2.7.1" // {
|
||||
dependencies = [
|
||||
sources."ip-2.0.0"
|
||||
];
|
||||
})
|
||||
sources."socks-proxy-agent-8.0.2"
|
||||
sources."source-map-0.6.1"
|
||||
sources."source-map-support-0.5.21"
|
||||
sources."sprintf-js-1.1.2"
|
||||
sources."supports-color-7.2.0"
|
||||
sources."supports-preserve-symlinks-flag-1.0.0"
|
||||
sources."systeminformation-5.21.22"
|
||||
sources."to-regex-range-5.0.1"
|
||||
sources."tslib-2.6.2"
|
||||
sources."tv4-1.3.0"
|
||||
sources."tx2-1.0.5"
|
||||
sources."universalify-0.1.2"
|
||||
sources."utf-8-validate-5.0.10"
|
||||
sources."uuid-3.4.0"
|
||||
(sources."vizion-2.2.1" // {
|
||||
dependencies = [
|
||||
sources."async-2.6.4"
|
||||
];
|
||||
})
|
||||
sources."wrappy-1.0.2"
|
||||
sources."ws-7.4.6"
|
||||
sources."yallist-4.0.0"
|
||||
sources."yamljs-0.3.0"
|
||||
];
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
description = "Production process manager for Node.JS applications with a built-in load balancer.";
|
||||
homepage = "http://pm2.keymetrics.io/";
|
||||
license = "AGPL-3.0";
|
||||
};
|
||||
production = true;
|
||||
bypassCache = true;
|
||||
reconstructLock = true;
|
||||
};
|
||||
pnpm = nodeEnv.buildNodePackage {
|
||||
name = "pnpm";
|
||||
packageName = "pnpm";
|
||||
|
|
|
@ -12176,8 +12176,6 @@ with pkgs;
|
|||
|
||||
plowshare = callPackage ../tools/misc/plowshare { };
|
||||
|
||||
pm2 = nodePackages.pm2;
|
||||
|
||||
pmenu = callPackage ../tools/X11/pmenu { };
|
||||
|
||||
pngcheck = callPackage ../tools/graphics/pngcheck { };
|
||||
|
|
Loading…
Reference in New Issue
Block a user