Files
nixpkgs/pkgs/development/python-modules/botocore/default.nix
T
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

68 lines
1.3 KiB
Nix

{
lib,
awscrt,
buildPythonPackage,
fetchPypi,
jmespath,
jsonschema,
pytestCheckHook,
python-dateutil,
pythonOlder,
pythonRelaxDepsHook,
setuptools,
urllib3,
}:
buildPythonPackage rec {
pname = "botocore";
version = "1.34.87"; # 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-o6TYV/CUHZih5c6M1kw5BiJx/qC+TZ89DWr/bLWBI7k=";
};
pythonRelaxDeps = [ "urllib3" ];
nativeBuildInputs = [
pythonRelaxDepsHook
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 ];
};
}