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

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

30 lines
799 B
Nix
Raw Normal View History

2021-05-10 12:37:42 +03:00
{ lib, buildGoModule, fetchFromGitHub, tmux, which, makeWrapper }:
2018-03-13 10:56:24 +03:00
2021-05-10 12:37:42 +03:00
buildGoModule rec {
2019-07-11 05:46:43 +03:00
pname = "overmind";
2024-04-03 08:36:12 +03:00
version = "2.5.1";
2018-03-13 10:56:24 +03:00
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/overmind" --prefix PATH : "${lib.makeBinPath [ tmux which ]}"
2018-03-13 10:56:24 +03:00
'';
src = fetchFromGitHub {
owner = "DarthSim";
2019-07-11 05:46:43 +03:00
repo = pname;
2018-03-13 10:56:24 +03:00
rev = "v${version}";
2024-04-03 08:36:12 +03:00
sha256 = "sha256-wX29nFmzmbxbaXtwIWZNvueXFv9SKIOqexkc5pEITpw=";
2018-03-13 10:56:24 +03:00
};
2024-04-03 08:36:12 +03:00
vendorHash = "sha256-XhF4oizOZ6g0351Q71Wp9IA3aFpocC5xGovDefIoL78=";
2020-06-04 17:01:37 +03:00
2019-07-11 05:46:43 +03:00
meta = with lib; {
homepage = "https://github.com/DarthSim/overmind";
2018-03-13 10:56:24 +03:00
description = "Process manager for Procfile-based applications and tmux";
mainProgram = "overmind";
2018-03-13 10:56:24 +03:00
license = with licenses; [ mit ];
maintainers = [ maintainers.adisbladis ];
};
}