Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ lib, awscrt, cacert, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# dependencies jmespath, python-dateutil, urllib3,
# tests jsonschema, pytestCheckHook,}:
buildPythonPackage rec { pname = "botocore"; version = "1.43.79"; # N.B: if you change this, change boto3 and awscli to a matching version pyproject = true;
src = fetchFromGitHub { owner = "boto"; repo = "botocore"; tag = version; hash = "sha256-TfrwQiVf7Uc298xllNUcyjAk4btDcjSWVrXt2gfHGew="; };
postPatch = '' ln -sf ${cacert}/etc/ssl/certs/ca-no-trust-rules-bundle.crt botocore/cacert.pem '';
build-system = [ setuptools ];
dependencies = [ 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" ];
optional-dependencies = { crt = [ awscrt ]; };
meta = { 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/${src.tag}/CHANGELOG.rst"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ anthonyroussel ]; };}