2021-03-30 16:42:32 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2017-11-10 16:54:23 +00:00
|
|
|
, fetchPypi
|
|
|
|
, dateutil
|
|
|
|
, jmespath
|
|
|
|
, docutils
|
|
|
|
, ordereddict
|
|
|
|
, simplejson
|
|
|
|
, mock
|
|
|
|
, nose
|
2018-11-20 10:58:35 +00:00
|
|
|
, urllib3
|
2017-11-10 16:54:23 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "botocore";
|
2021-04-12 19:00:22 +01:00
|
|
|
version = "1.20.49"; # N.B: if you change this, change boto3 and awscli to a matching version
|
2017-11-10 16:54:23 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-12 19:00:22 +01:00
|
|
|
sha256 = "sha256-9/ED+gZRxp3TYMfQ7Nh0hUMD3lzAhp4MvCgYpSuqzGk=";
|
2017-11-10 16:54:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
dateutil
|
|
|
|
jmespath
|
|
|
|
docutils
|
|
|
|
ordereddict
|
|
|
|
simplejson
|
2018-11-20 10:58:35 +00:00
|
|
|
urllib3
|
2017-11-10 16:54:23 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ mock nose ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests -v
|
|
|
|
'';
|
|
|
|
|
|
|
|
# Network access
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-03-30 16:42:32 +01:00
|
|
|
pythonImportsCheck = [ "botocore" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/boto/botocore";
|
2021-03-30 16:42:32 +01:00
|
|
|
license = licenses.asl20;
|
2017-11-10 16:54:23 +00:00
|
|
|
description = "A low-level interface to a growing number of Amazon Web Services";
|
|
|
|
};
|
|
|
|
}
|