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