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

28 lines
773 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}";
version = "1.2.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}";
sha256 = "11ws9rsy8ladjp1y3b6vva9sjmw4s24xc1w18lyhfz63xc908nfw";
2018-03-13 07:56:24 +00:00
};
meta = with stdenv.lib; {
homepage = https://github.com/DarthSim/;
description = "Process manager for Procfile-based applications and tmux";
license = with licenses; [ mit ];
maintainers = [ maintainers.adisbladis ];
};
}