2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildGoPackage, fetchFromGitHub, runtimeShell }:
|
2018-12-05 08:31:08 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "hivemind";
|
2019-12-12 16:19:03 +00:00
|
|
|
version = "1.0.6";
|
2018-12-05 08:31:08 +00:00
|
|
|
goPackagePath = "github.com/DarthSim/hivemind";
|
|
|
|
|
2020-01-30 20:41:54 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace process.go --replace \"/bin/sh\" \"${runtimeShell}\"
|
|
|
|
'';
|
|
|
|
|
2018-12-05 08:31:08 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DarthSim";
|
|
|
|
repo = "hivemind";
|
|
|
|
rev = "v${version}";
|
2019-12-12 16:19:03 +00:00
|
|
|
sha256 = "0afcnd03wsdphbbpha65rv5pnv0x6ldnnm6rnv1m6xkkywgnzx95";
|
2018-12-05 08:31:08 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/DarthSim/";
|
2018-12-05 08:31:08 +00:00
|
|
|
description = "Process manager for Procfile-based applications";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = [ maintainers.sveitser ];
|
|
|
|
};
|
|
|
|
}
|