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
771 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";
2022-07-30 07:00:51 +00:00
version = "2.3.0";
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}";
2022-07-30 07:00:51 +00:00
sha256 = "sha256-vmmSsg0JneMseFCcx/no2x/Ghppmyiod8ZAIb4JWW9I=";
2018-03-13 07:56:24 +00:00
};
2022-07-30 07:00:51 +00:00
vendorSha256 = "sha256-QIKyLknPvmt8yiUCSCIqha8h9ozDGeQnKSM9Vwus0uY=";
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 ];
};
}