ae2dc6aea6
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
29 lines
776 B
Nix
29 lines
776 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 = [ ];
|
|
};
|
|
}
|