Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 65 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ lib, awscrt, buildPythonPackage, fetchPypi, jmespath, jsonschema, pytestCheckHook, python-dateutil, pythonOlder, setuptools, urllib3,}:
buildPythonPackage rec { pname = "botocore"; version = "1.34.129"; # N.B: if you change this, change boto3 and awscli to a matching version pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { inherit pname version; hash = "sha256-fFbiWvYRLWnF0UoVtC92unaHaHq8RjqWrF7coZwKnC0="; };
pythonRelaxDeps = [ "urllib3" ];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ jmespath python-dateutil urllib3 ];
nativeCheckInputs = [ jsonschema pytestCheckHook ];
disabledTestPaths = [ # Integration tests require networking "tests/integration"
# Disable slow tests (only run unit tests) "tests/functional" ];
pythonImportsCheck = [ "botocore" ];
passthru.optional-dependencies = { crt = [ awscrt ]; };
meta = with lib; { description = "Low-level interface to a growing number of Amazon Web Services"; homepage = "https://github.com/boto/botocore"; changelog = "https://github.com/boto/botocore/blob/${version}/CHANGELOG.rst"; license = licenses.asl20; maintainers = with maintainers; [ anthonyroussel ]; };}