nixpkgs/pkgs/applications/misc/overmind/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
757 B
Nix
Raw Normal View History

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 = ''
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 ];
};
}