2018-03-13 08:56:24 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub, tmux, makeWrapper }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "overmind-${version}";
|
2018-08-07 10:57:05 +02:00
|
|
|
version = "2.0.0.beta1";
|
2018-03-13 08:56:24 +01:00
|
|
|
goPackagePath = "github.com/DarthSim/overmind";
|
|
|
|
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram "$bin/bin/overmind" --prefix PATH : "${stdenv.lib.makeBinPath [ tmux ]}"
|
|
|
|
'';
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DarthSim";
|
|
|
|
repo = "overmind";
|
|
|
|
rev = "v${version}";
|
2018-08-07 10:57:05 +02:00
|
|
|
sha256 = "15fch3qszdm8bj1m9hxky9zgk6f5gpbswwfslg84qdjf4iwr5drq";
|
2018-03-13 08:56:24 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|