mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 10:56:53 +00:00
28 lines
779 B
Nix
28 lines
779 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub, tmux, which, makeWrapper }:
|
|
|
|
buildGoPackage rec {
|
|
name = "overmind-${version}";
|
|
version = "2.0.0.beta1";
|
|
goPackagePath = "github.com/DarthSim/overmind";
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
postInstall = ''
|
|
wrapProgram "$bin/bin/overmind" --prefix PATH : "${stdenv.lib.makeBinPath [ tmux which ]}"
|
|
'';
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "DarthSim";
|
|
repo = "overmind";
|
|
rev = "v${version}";
|
|
sha256 = "15fch3qszdm8bj1m9hxky9zgk6f5gpbswwfslg84qdjf4iwr5drq";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|