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