2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub, runtimeShell }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "hivemind";
|
|
|
|
version = "1.0.6";
|
|
|
|
goPackagePath = "github.com/DarthSim/hivemind";
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace process.go --replace \"/bin/sh\" \"${runtimeShell}\"
|
|
|
|
'';
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DarthSim";
|
|
|
|
repo = "hivemind";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0afcnd03wsdphbbpha65rv5pnv0x6ldnnm6rnv1m6xkkywgnzx95";
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/DarthSim/";
|
|
|
|
description = "Process manager for Procfile-based applications";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = [ maintainers.sveitser ];
|
|
|
|
};
|
|
|
|
}
|