Files
nixpkgs/pkgs/development/python-modules/botocore/default.nix
T

67 lines
1.2 KiB
Nix

{
lib,
awscrt,
buildPythonPackage,
fetchPypi,
# build-system
setuptools,
# dependencies
jmespath,
python-dateutil,
urllib3,
# tests
jsonschema,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "botocore";
version = "1.35.30"; # N.B: if you change this, change boto3 and awscli to a matching version
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-q1NQ6KUOSNNx+i1RfWXCmkDEN4jLmhU4f5PqxaI98P0=";
};
pythonRelaxDeps = [ "urllib3" ];
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/${version}/CHANGELOG.rst";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ anthonyroussel ];
};
}