587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
29 lines
799 B
Nix
29 lines
799 B
Nix
{ lib, buildGoModule, fetchFromGitHub, tmux, which, makeWrapper }:
|
|
|
|
buildGoModule rec {
|
|
pname = "overmind";
|
|
version = "2.5.1";
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
postInstall = ''
|
|
wrapProgram "$out/bin/overmind" --prefix PATH : "${lib.makeBinPath [ tmux which ]}"
|
|
'';
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "DarthSim";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-wX29nFmzmbxbaXtwIWZNvueXFv9SKIOqexkc5pEITpw=";
|
|
};
|
|
|
|
vendorHash = "sha256-XhF4oizOZ6g0351Q71Wp9IA3aFpocC5xGovDefIoL78=";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/DarthSim/overmind";
|
|
description = "Process manager for Procfile-based applications and tmux";
|
|
mainProgram = "overmind";
|
|
license = with licenses; [ mit ];
|
|
maintainers = [ maintainers.adisbladis ];
|
|
};
|
|
}
|