From 2c1c74649766a0c6954f647ee40be28de48e1274 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 24 Jan 2016 16:49:26 +0100 Subject: [PATCH] pythonPackages.botocore: fix test runner, disable testing --- pkgs/top-level/python-packages.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9ba83526b41..3d9bcbdedf9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2296,7 +2296,7 @@ in modules // { }; botocore = buildPythonPackage rec { - version = "1.3.12"; + version = "1.3.12"; # This version is required by awscli name = "botocore-${version}"; src = pkgs.fetchurl { @@ -2310,15 +2310,19 @@ in modules // { self.jmespath ]; - buildInputs = [ self.docutils ]; + buildInputs = with self; [ docutils mock nose ]; + + checkPhase = '' + nosetests -v + ''; + + # Network access + doCheck = false; meta = { homepage = https://github.com/boto/botocore; - license = "bsd"; - description = "A low-level interface to a growing number of Amazon Web Services"; - }; };