go/pup: init at 0.3.9

(also required go/color: init at 9aae6aa)
This commit is contained in:
obadz 2015-11-27 02:51:31 +00:00
parent 93d8671e2c
commit 074dfbe516
2 changed files with 25 additions and 0 deletions

View File

@ -1671,6 +1671,8 @@ let
go-mtpfs = goPackages.mtpfs.bin // { outputs = [ "bin" ]; };
go-pup = goPackages.pup.bin // { outputs = [ "bin" ]; };
googleAuthenticator = callPackage ../os-specific/linux/google-authenticator { };
google-cloud-sdk = callPackage ../tools/admin/google-cloud-sdk { };

View File

@ -3230,4 +3230,27 @@ let
'';
};
color = buildFromGitHub {
rev = "9aae6aaa22315390f03959adca2c4d395b02fcef";
owner = "fatih";
repo = "color";
sha256 = "1vjcgx4xc0h4870qzz4mrh1l0f07wr79jm8pnbp6a2yd41rm8wjp";
propagatedBuildInputs = [ net go-isatty ];
buildInputs = [ ansicolor go-colorable ];
};
pup = buildFromGitHub {
rev = "9693b292601dd24dab3c04bc628f9ae3fa72f831";
owner = "EricChiang";
repo = "pup";
sha256 = "04j3fy1vk6xap8ad7k3c05h9b5mg2n1vy9vcyg9rs02cb13d3sy0";
propagatedBuildInputs = [ net ];
buildInputs = [ go-colorable color ];
postPatch = ''
grep -sr github.com/ericchiang/pup/Godeps/_workspace/src/ |
cut -f 1 -d : |
sort -u |
xargs -d '\n' sed -i -e s,github.com/ericchiang/pup/Godeps/_workspace/src/,,g
'';
};
}; in self