3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/overmind/default.nix

29 lines
757 B
Nix
Raw Normal View History

2021-05-10 10:37:42 +01:00
{ lib, buildGoModule, fetchFromGitHub, tmux, which, makeWrapper }:
2018-03-13 07:56:24 +00:00
2021-05-10 10:37:42 +01:00
buildGoModule rec {
2019-07-11 03:46:43 +01:00
pname = "overmind";
2021-05-10 10:37:42 +01:00
version = "2.2.2";
2018-03-13 07:56:24 +00:00
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
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 03:46:43 +01:00
repo = pname;
2018-03-13 07:56:24 +00:00
rev = "v${version}";
2021-05-10 10:37:42 +01:00
sha256 = "zDjIwnhDoUj+zTAhtBa94dx7QhYMCTxv2DNUpeP8CP0=";
2018-03-13 07:56:24 +00:00
};
2021-05-10 10:37:42 +01:00
vendorSha256 = "KDMzR6qAruscgS6/bHTN6RnHOlLKCm9lxkr9k3oLY+Y=";
2020-06-04 15:01:37 +01:00
2019-07-11 03:46:43 +01: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 ];
};
}