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.14.13"; # N.B: if you change this, change boto3 and awscli to a matching version
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "6478d9207db6dbcb5106fd4db2cdd5194d0b2dc0b73776019d56877ab802fe87";
20 };
21
22 propagatedBuildInputs = [
23 dateutil
24 jmespath
25 docutils
26 ordereddict
27 simplejson
28 urllib3
29 ];
30
31 postPatch = ''
32 substituteInPlace setup.py --replace ",<0.16" ""
33 '';
34
35 checkInputs = [ mock nose ];
36
37 checkPhase = ''
38 nosetests -v
39 '';
40
41 # Network access
42 doCheck = false;
43
44 meta = {
45 homepage = https://github.com/boto/botocore;
46 license = "bsd";
47 description = "A low-level interface to a growing number of Amazon Web Services";
48 };
49}