1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/pkgs/applications/misc/overmind/default.nix

28 lines
779 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}";
2018-08-07 09:57:05 +01: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 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}";
2018-08-07 09:57:05 +01: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 ];
};
}