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

28 lines
779 B
Nix
Raw Normal View History

2018-08-17 07:31:04 +00:00
{ stdenv, buildGoPackage, fetchFromGitHub, tmux, which, makeWrapper }:
2018-03-13 07:56:24 +00:00
buildGoPackage rec {
name = "overmind-${version}";
2018-08-07 08:57:05 +00:00
version = "2.0.0.beta1";
2018-03-13 07:56:24 +00:00
goPackagePath = "github.com/DarthSim/overmind";
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
2018-08-17 07:31:04 +00: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}";
2018-08-07 08:57:05 +00:00
sha256 = "15fch3qszdm8bj1m9hxky9zgk6f5gpbswwfslg84qdjf4iwr5drq";
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 ];
};
}