From f14bf70db4b90e3a1d854d8d23690260fd03292f Mon Sep 17 00:00:00 2001 From: Patrick Mahoney Date: Fri, 8 Apr 2016 22:29:31 -0500 Subject: [PATCH] awscli: 1.10.1 -> 1.10.18 And awscli dependencies: botocore: 1.3.23 -> 1.4.9 s3transfer: init at 0.0.1 --- pkgs/top-level/python-packages.nix | 42 +++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5a02c0246e6c..0a17a54156ee 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1224,11 +1224,11 @@ in modules // { awscli = buildPythonPackage rec { name = "awscli-${version}"; - version = "1.10.1"; + version = "1.10.18"; src = pkgs.fetchurl { url = "https://pypi.python.org/packages/source/a/awscli/${name}.tar.gz"; - sha256 = "159c8nfcighlkcbdzck102cp06g7rpgbbvxpb73vjymgqrzqywvb"; + sha256 = "0vdj7p4cwsbzhanhp5f2c0b0qr2gh76dyanji73avvj4jvdb5d4g"; }; # No tests included @@ -1237,6 +1237,7 @@ in modules // { propagatedBuildInputs = with self; [ botocore bcdoc + s3transfer six colorama docutils @@ -2505,12 +2506,12 @@ in modules // { }; botocore = buildPythonPackage rec { - version = "1.3.23"; # This version is required by awscli + version = "1.4.9"; # This version is required by awscli name = "botocore-${version}"; src = pkgs.fetchurl { url = "https://pypi.python.org/packages/source/b/botocore/${name}.tar.gz"; - sha256 = "00iaapmy07zdhm2y23fk9igrskzdkix53j7g45lc5dg9nfyngq6j"; + sha256 = "07rp24lnpjlk0c889g0d8y2ykc711gi04w715nkm9mv734ndsman"; }; propagatedBuildInputs = @@ -19349,6 +19350,39 @@ in modules // { }; }; + s3transfer = buildPythonPackage rec { + version = "0.0.1"; # This version is required by awscli + name = "s3transfer-${version}"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/s/s3transfer/${name}.tar.gz"; + sha256 = "0ma31zvv7gy240xgd1zw853lpzkdci6mapzpg3x4vycann6yvf9b"; + }; + + foo = 1; + + propagatedBuildInputs = + [ self.botocore + ] ++ stdenv.lib.optional (pythonOlder "3") self.futures; + + buildInputs = with self; [ docutils mock nose coverage wheel unittest2 ]; + + checkPhase = '' + pushd s3transfer/tests + nosetests -v unit/ functional/ + popd + ''; + + # version on pypi has no tests/ dir + doCheck = false; + + meta = { + homepage = https://github.com/boto/s3transfer; + license = stdenv.lib.licenses.asl20; + description = "A library for managing Amazon S3 transfers"; + }; + }; + seqdiag = buildPythonPackage rec { name = "seqdiag-0.9.4";