mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
28 lines
751 B
Nix
28 lines
751 B
Nix
{ lib, buildGoPackage, fetchFromGitHub, tmux, which, makeWrapper }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "overmind";
|
|
version = "2.0.2";
|
|
goPackagePath = "github.com/DarthSim/overmind";
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
postInstall = ''
|
|
wrapProgram "$bin/bin/overmind" --prefix PATH : "${lib.makeBinPath [ tmux which ]}"
|
|
'';
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "DarthSim";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0cns19gqkfxsiiyfxhb05cjp1iv2fb40x47gp8djrwwzcd1r6zxh";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|