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