Add etsy/hound

(cherry picked from commit ea43515da1dbcf2b2876bf44c970b33448eb0e31)
This commit is contained in:
Rob Vermaas 2016-02-09 14:09:54 +00:00
parent 6a2cbbb24a
commit 5594bd8e2d

View file

@ -1849,6 +1849,27 @@ let
};
};
hound = buildGoPackage rec {
rev = "0a364935ba9db53e6f3f5563b02fcce242e0930f";
name = "hound-${stdenv.lib.strings.substring 0 7 rev}";
goPackagePath = "github.com/etsy/hound";
src = fetchFromGitHub {
inherit rev;
owner = "etsy";
repo = "hound";
sha256 = "0jhnjskpm15nfa1cvx0h214lx72zjvnkjwrbgwgqqyn9afrihc7q";
};
buildInputs = [ go-bindata.bin pkgs.nodejs pkgs.nodePackages.react-tools pkgs.python pkgs.rsync ];
postInstall = ''
pushd go
python src/github.com/etsy/hound/tools/setup
sed -i 's|bin/go-bindata||' Makefile
sed -i 's|$<|#go-bindata|' Makefile
make
'';
};
hologram = buildGoPackage rec {
rev = "63014b81675e1228818bf36ef6ef0028bacad24b";
name = "hologram-${stdenv.lib.strings.substring 0 7 rev}";