2022-02-03 16:15:34 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, runtimeShell }:
|
2018-12-05 08:31:08 +00:00
|
|
|
|
2022-02-03 16:15:34 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "hivemind";
|
2022-02-03 16:15:34 +00:00
|
|
|
version = "1.1.0";
|
2018-12-05 08:31:08 +00:00
|
|
|
|
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}";
|
2023-08-29 06:33:47 +00:00
|
|
|
hash = "sha256-YUR9OwRuH1xSPs8iTsSIjLCt2TyYH357IAYULGTyYUc=";
|
2018-12-05 08:31:08 +00:00
|
|
|
};
|
2023-08-29 06:33:47 +00:00
|
|
|
|
|
|
|
vendorHash = "sha256-KweFhT8Zueg45Q/vw3kNET35hB+0WbUPfz0FYaAiIA8=";
|
2018-12-05 08:31:08 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|