Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 awscrt, 4 buildPythonPackage, 5 fetchPypi, 6 jmespath, 7 jsonschema, 8 pytestCheckHook, 9 python-dateutil, 10 pythonOlder, 11 setuptools, 12 urllib3, 13}: 14 15buildPythonPackage rec { 16 pname = "botocore"; 17 version = "1.34.129"; # N.B: if you change this, change boto3 and awscli to a matching version 18 pyproject = true; 19 20 disabled = pythonOlder "3.8"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-fFbiWvYRLWnF0UoVtC92unaHaHq8RjqWrF7coZwKnC0="; 25 }; 26 27 pythonRelaxDeps = [ "urllib3" ]; 28 29 nativeBuildInputs = [ 30 setuptools 31 ]; 32 33 propagatedBuildInputs = [ 34 jmespath 35 python-dateutil 36 urllib3 37 ]; 38 39 nativeCheckInputs = [ 40 jsonschema 41 pytestCheckHook 42 ]; 43 44 disabledTestPaths = [ 45 # Integration tests require networking 46 "tests/integration" 47 48 # Disable slow tests (only run unit tests) 49 "tests/functional" 50 ]; 51 52 pythonImportsCheck = [ "botocore" ]; 53 54 passthru.optional-dependencies = { 55 crt = [ awscrt ]; 56 }; 57 58 meta = with lib; { 59 description = "Low-level interface to a growing number of Amazon Web Services"; 60 homepage = "https://github.com/boto/botocore"; 61 changelog = "https://github.com/boto/botocore/blob/${version}/CHANGELOG.rst"; 62 license = licenses.asl20; 63 maintainers = with maintainers; [ anthonyroussel ]; 64 }; 65}