@@ -0,0 +1,27 @@
1+{ stdenv, buildGoPackage, fetchFromGitHub, tmux, makeWrapper }:
2+
3+buildGoPackage rec {
4+ name = "overmind-${version}";
5+ version = "1.1.1";
6+ goPackagePath = "github.com/DarthSim/overmind";
7+
8+ nativeBuildInputs = [ makeWrapper ];
9+
10+ postInstall = ''
11+ wrapProgram "$bin/bin/overmind" --prefix PATH : "${stdenv.lib.makeBinPath [ tmux ]}"
12+ '';
13+
14+ src = fetchFromGitHub {
15+ owner = "DarthSim";
16+ repo = "overmind";
17+ rev = "v${version}";
18+ sha256 = "0gdsbm54ln07jv1kgg53fiavx18xxw4f21lfcdl74ijk6bx4jbzv";
19+ };
20+
21+ meta = with stdenv.lib; {
22+ homepage = https://github.com/DarthSim/;
23+ description = "Process manager for Procfile-based applications and tmux";
24+ license = with licenses; [ mit ];
25+ maintainers = [ maintainers.adisbladis ];
26+ };
27+}