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