nixpkgs/pkgs/applications/misc/overmind/default.nix
2024-04-03 05:36:12 +00:00

30 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 ];
};
}