1{ lib
2, buildPythonPackage
3, fetchPypi
4, python-dateutil
5, jmespath
6, urllib3
7, pytestCheckHook
8, jsonschema
9}:
10
11buildPythonPackage rec {
12 pname = "botocore";
13 version = "1.31.57"; # N.B: if you change this, change boto3 and awscli to a matching version
14 format = "setuptools";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-MBQ2F0Y1vsc5siW4QPw2XKAOXBpj5bKhnuZ50gTgG3g=";
19 };
20
21 propagatedBuildInputs = [
22 python-dateutil
23 jmespath
24 urllib3
25 ];
26
27 nativeCheckInputs = [
28 pytestCheckHook
29 jsonschema
30 ];
31
32 disabledTestPaths = [
33 # Integration tests require networking
34 "tests/integration"
35
36 # Disable slow tests (only run unit tests)
37 "tests/functional"
38 ];
39
40 pythonImportsCheck = [
41 "botocore"
42 ];
43
44 meta = with lib; {
45 homepage = "https://github.com/boto/botocore";
46 changelog = "https://github.com/boto/botocore/blob/${version}/CHANGELOG.rst";
47 license = licenses.asl20;
48 description = "A low-level interface to a growing number of Amazon Web Services";
49 maintainers = with maintainers; [ anthonyroussel ];
50 };
51}