3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/overmind/default.nix

28 lines
781 B
Nix
Raw Normal View History

2018-08-17 08:31:04 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub, tmux, which, makeWrapper }:
2018-03-13 07:56:24 +00:00
buildGoPackage rec {
name = "overmind-${version}";
2019-02-27 14:59:10 +00:00
version = "2.0.1";
2018-03-13 07:56:24 +00:00
goPackagePath = "github.com/DarthSim/overmind";
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
2018-08-17 08:31:04 +01:00
wrapProgram "$bin/bin/overmind" --prefix PATH : "${stdenv.lib.makeBinPath [ tmux which ]}"
2018-03-13 07:56:24 +00:00
'';
src = fetchFromGitHub {
owner = "DarthSim";
repo = "overmind";
rev = "v${version}";
2019-02-27 14:59:10 +00:00
sha256 = "1j3cpcfgacn5ic19sgrs1djn5jr4d7j7lxaz0vbaf414lrl76qz8";
2018-03-13 07:56:24 +00:00
};
meta = with stdenv.lib; {
2019-02-27 14:59:10 +00:00
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 ];
};
}