Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
29 lines
723 B
Nix
29 lines
723 B
Nix
{ lib
|
|
, buildNpmPackage
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "pm2";
|
|
version = "5.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Unitech";
|
|
repo = "pm2";
|
|
rev = "v${version}";
|
|
hash = "sha256-8Fsh7rld7rtT55qVgj3/XbujNpZx0BfzTRcLjdPLFSA=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-Rp3euhURkZgVyszyAwrIftL7lY4aoP+Q4kSQBFxwTcs=";
|
|
|
|
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 ];
|
|
};
|
|
}
|