pythonPackages.botocore: fix test runner, disable testing

This commit is contained in:
Frederik Rietdijk 2016-01-24 16:49:26 +01:00
parent ced3914cdc
commit 2c1c746497

View file

@ -2296,7 +2296,7 @@ in modules // {
}; };
botocore = buildPythonPackage rec { botocore = buildPythonPackage rec {
version = "1.3.12"; version = "1.3.12"; # This version is required by awscli
name = "botocore-${version}"; name = "botocore-${version}";
src = pkgs.fetchurl { src = pkgs.fetchurl {
@ -2310,15 +2310,19 @@ in modules // {
self.jmespath self.jmespath
]; ];
buildInputs = [ self.docutils ]; buildInputs = with self; [ docutils mock nose ];
checkPhase = ''
nosetests -v
'';
# Network access
doCheck = false;
meta = { meta = {
homepage = https://github.com/boto/botocore; homepage = https://github.com/boto/botocore;
license = "bsd"; license = "bsd";
description = "A low-level interface to a growing number of Amazon Web Services"; description = "A low-level interface to a growing number of Amazon Web Services";
}; };
}; };