From 8a84a8019341d7933cfa00647255e3c523cf997d Mon Sep 17 00:00:00 2001 From: Dan Peebles Date: Thu, 3 Dec 2015 08:22:06 -0500 Subject: [PATCH] awscli: 1.7.47 -> 1.9.6 Also updates its botocore dependency from 1.1.10 to 1.3.6 and makes it use requests2 instead of requests. --- pkgs/tools/admin/awscli/default.nix | 4 ++-- pkgs/top-level/python-packages.nix | 33 +++-------------------------- 2 files changed, 5 insertions(+), 32 deletions(-) diff --git a/pkgs/tools/admin/awscli/default.nix b/pkgs/tools/admin/awscli/default.nix index c4de8090e059..90fbbc3ef9b9 100644 --- a/pkgs/tools/admin/awscli/default.nix +++ b/pkgs/tools/admin/awscli/default.nix @@ -2,14 +2,14 @@ pythonPackages.buildPythonPackage rec { name = "awscli-${version}"; - version = "1.7.47"; + version = "1.9.6"; namePrefix = ""; src = fetchFromGitHub { owner = "aws"; repo = "aws-cli"; rev = version; - sha256 = "1955y1ar2mqzqgfngpwp8pc78wphh1qdgwwy0gs6i352jaqzkvwi"; + sha256 = "08qclasxf8zdxwmngvynq9n5vv4nwdy68ma7wn7ji40bxmls37g2"; }; propagatedBuildInputs = [ diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 98be70461887..3f063be76686 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1759,44 +1759,17 @@ in modules // { }; botocore = buildPythonPackage rec { - version = "1.2.0"; + version = "1.3.6"; name = "botocore-${version}"; src = pkgs.fetchurl { url = "https://pypi.python.org/packages/source/b/botocore/${name}.tar.gz"; - sha256 = "0wj98fsiwqzy0i0zh86fx15sgdjkwqi6crxig6b4kvrckl8bkwjr"; + sha256 = "05a0ihv66fx77j16mjlm76d8zm7sd5wfzh1hx4nm3ilb9gz5h016"; }; propagatedBuildInputs = [ self.dateutil - self.requests - self.jmespath - ]; - - buildInputs = [ self.docutils ]; - - meta = { - homepage = https://github.com/boto/botocore; - - license = "bsd"; - - description = "A low-level interface to a growing number of Amazon Web Services"; - - }; - }; - - botocore_1_1_10 = buildPythonPackage rec { - version = "1.1.10"; - name = "botocore-${version}"; - - src = pkgs.fetchurl { - url = "https://pypi.python.org/packages/source/b/botocore/${name}.tar.gz"; - sha256 = "0syj0m0l7k4wa0n9h7h8ywayjv9fgpn5wyzpdriws0j417y1zlyc"; - }; - - propagatedBuildInputs = - [ self.dateutil - self.requests + self.requests2 self.jmespath ];