From 21488c6e60882db7f4de5f874833e53a2b1cf7e1 Mon Sep 17 00:00:00 2001 From: Samuel Rivas Date: Mon, 9 Nov 2015 21:54:30 +0100 Subject: [PATCH] botocore: 1.1.10 -> 1.2.0 Keep the old version as awscli depends on it --- pkgs/tools/admin/awscli/default.nix | 2 +- pkgs/top-level/python-packages.nix | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/admin/awscli/default.nix b/pkgs/tools/admin/awscli/default.nix index 06c9b85b8d6a..c4de8090e059 100644 --- a/pkgs/tools/admin/awscli/default.nix +++ b/pkgs/tools/admin/awscli/default.nix @@ -13,7 +13,7 @@ pythonPackages.buildPythonPackage rec { }; propagatedBuildInputs = [ - pythonPackages.botocore + pythonPackages.botocore_1_1_10 pythonPackages.bcdoc pythonPackages.six pythonPackages.colorama diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d267621b0d82..00868989dab7 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1621,6 +1621,33 @@ let }; botocore = buildPythonPackage rec { + version = "1.2.0"; + name = "botocore-${version}"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/b/botocore/${name}.tar.gz"; + sha256 = "0wj98fsiwqzy0i0zh86fx15sgdjkwqi6crxig6b4kvrckl8bkwjr"; + }; + + 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}";