From 5594bd8e2d02b7893814d54be2c2915c52d0b524 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Tue, 9 Feb 2016 14:09:54 +0000 Subject: [PATCH] Add etsy/hound (cherry picked from commit ea43515da1dbcf2b2876bf44c970b33448eb0e31) --- pkgs/top-level/go-packages.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pkgs/top-level/go-packages.nix b/pkgs/top-level/go-packages.nix index 4c10eec65af5..97fafe7c752e 100644 --- a/pkgs/top-level/go-packages.nix +++ b/pkgs/top-level/go-packages.nix @@ -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}";