Merge pull request #11300 from obadz/go-pup

go/pup: init at 0.3.9
This commit is contained in:
Thomas Tuegel 2015-12-21 07:54:24 -06:00
commit 226a83edd8
2 changed files with 25 additions and 0 deletions

View file

@ -1676,6 +1676,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

@ -3237,4 +3237,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