2024-02-07 01:22:34 +00:00
|
|
|
{ lib
|
|
|
|
, buildNpmPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "pm2";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "5.4.0";
|
2024-02-07 01:22:34 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Unitech";
|
|
|
|
repo = "pm2";
|
|
|
|
rev = "v${version}";
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-hmciDjlmlIaqOWl9rYWQ6muq6LFzQb5tfpdzL0vV/ZM=";
|
2024-02-07 01:22:34 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
npmDepsHash = "sha256-je+GwPkUiGPWgKQgSPlx2OEWMbDKdwEM/idTjgINLHY=";
|
2024-02-07 01:22:34 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|