mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
26 lines
670 B
Nix
26 lines
670 B
Nix
{ lib, buildGoPackage, fetchFromGitHub, runtimeShell }:
|
|
|
|
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";
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/DarthSim/";
|
|
description = "Process manager for Procfile-based applications";
|
|
license = with licenses; [ mit ];
|
|
maintainers = [ maintainers.sveitser ];
|
|
};
|
|
}
|