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