mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
828547556e
boto3: 1.9.36 -> 1.9.62 awscli: 1.16.72 I update all three of these at a time because they rely on each other and get annoyed when such changes are non-atomic. Also added a note to the packages telling people that this is needed. I tested awscli and the libraries against a real account.
46 lines
790 B
Nix
46 lines
790 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, dateutil
|
|
, jmespath
|
|
, docutils
|
|
, ordereddict
|
|
, simplejson
|
|
, mock
|
|
, nose
|
|
, urllib3
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "botocore";
|
|
version = "1.12.62"; # N.B: if you change this, change boto3 and awscli to a matching version
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0zgq3cldrh1x65s3vy1mhp1h5nnsdxw7ig1v0di7p8yns3iazsv7";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
dateutil
|
|
jmespath
|
|
docutils
|
|
ordereddict
|
|
simplejson
|
|
urllib3
|
|
];
|
|
|
|
checkInputs = [ 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";
|
|
};
|
|
}
|