1{ lib
2, buildPythonPackage
3, fetchPypi
4, python-dateutil
5, jmespath
6, docutils
7, ordereddict
8, simplejson
9, mock
10, nose
11, urllib3
12}:
13
14buildPythonPackage rec {
15 pname = "botocore";
16 version = "1.21.54"; # N.B: if you change this, change boto3 and awscli to a matching version
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "sha256-RhJ7OjhdDsc9GZS4lYsjt54GE+EsSGNxoQDfmStyobk=";
21 };
22
23 propagatedBuildInputs = [
24 python-dateutil
25 jmespath
26 docutils
27 ordereddict
28 simplejson
29 urllib3
30 ];
31
32 checkInputs = [ mock nose ];
33
34 checkPhase = ''
35 nosetests -v
36 '';
37
38 # Network access
39 doCheck = false;
40
41 pythonImportsCheck = [ "botocore" ];
42
43 meta = with lib; {
44 homepage = "https://github.com/boto/botocore";
45 license = licenses.asl20;
46 description = "A low-level interface to a growing number of Amazon Web Services";
47 };
48}