2021-05-10 12:37:42 +03:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, tmux, which, makeWrapper }:
|
2018-03-13 10:56:24 +03:00
|
|
|
|
2021-05-10 12:37:42 +03:00
|
|
|
buildGoModule rec {
|
2019-07-11 05:46:43 +03:00
|
|
|
pname = "overmind";
|
2024-04-03 08:36:12 +03:00
|
|
|
version = "2.5.1";
|
2018-03-13 10:56:24 +03:00
|
|
|
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
postInstall = ''
|
2020-04-28 04:50:57 +03:00
|
|
|
wrapProgram "$out/bin/overmind" --prefix PATH : "${lib.makeBinPath [ tmux which ]}"
|
2018-03-13 10:56:24 +03:00
|
|
|
'';
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DarthSim";
|
2019-07-11 05:46:43 +03:00
|
|
|
repo = pname;
|
2018-03-13 10:56:24 +03:00
|
|
|
rev = "v${version}";
|
2024-04-03 08:36:12 +03:00
|
|
|
sha256 = "sha256-wX29nFmzmbxbaXtwIWZNvueXFv9SKIOqexkc5pEITpw=";
|
2018-03-13 10:56:24 +03:00
|
|
|
};
|
|
|
|
|
2024-04-03 08:36:12 +03:00
|
|
|
vendorHash = "sha256-XhF4oizOZ6g0351Q71Wp9IA3aFpocC5xGovDefIoL78=";
|
2020-06-04 17:01:37 +03:00
|
|
|
|
2019-07-11 05:46:43 +03:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/DarthSim/overmind";
|
2018-03-13 10:56:24 +03:00
|
|
|
description = "Process manager for Procfile-based applications and tmux";
|
2024-03-19 05:14:51 +03:00
|
|
|
mainProgram = "overmind";
|
2018-03-13 10:56:24 +03:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = [ maintainers.adisbladis ];
|
|
|
|
};
|
|
|
|
}
|