depot/third_party/nixpkgs/pkgs/applications/misc/overmind/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

28 lines
771 B
Nix

{ lib, buildGoModule, fetchFromGitHub, tmux, which, makeWrapper }:
buildGoModule rec {
pname = "overmind";
version = "2.3.0";
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/overmind" --prefix PATH : "${lib.makeBinPath [ tmux which ]}"
'';
src = fetchFromGitHub {
owner = "DarthSim";
repo = pname;
rev = "v${version}";
sha256 = "sha256-vmmSsg0JneMseFCcx/no2x/Ghppmyiod8ZAIb4JWW9I=";
};
vendorSha256 = "sha256-QIKyLknPvmt8yiUCSCIqha8h9ozDGeQnKSM9Vwus0uY=";
meta = with lib; {
homepage = "https://github.com/DarthSim/overmind";
description = "Process manager for Procfile-based applications and tmux";
license = with licenses; [ mit ];
maintainers = [ maintainers.adisbladis ];
};
}