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