nixpkgs/pkgs/applications/misc/hivemind/default.nix

26 lines
680 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchFromGitHub, runtimeShell }:
2018-12-05 08:31:08 +00:00
buildGoPackage rec {
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";
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
};
meta = with stdenv.lib; {
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 ];
};
}