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

52 lines
1.1 KiB
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python-dateutil
, jmespath
, urllib3
, pytestCheckHook
, jsonschema
}:
buildPythonPackage rec {
pname = "botocore";
version = "1.31.9"; # N.B: if you change this, change boto3 and awscli to a matching version
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-vYSdOslfF4E4Xtgx11OgSj7IcKWdZZgXWq7dcdwrr18=";
};
propagatedBuildInputs = [
python-dateutil
jmespath
urllib3
];
nativeCheckInputs = [
pytestCheckHook
jsonschema
];
disabledTestPaths = [
# Integration tests require networking
"tests/integration"
# Disable slow tests (only run unit tests)
"tests/functional"
];
pythonImportsCheck = [
"botocore"
];
meta = with lib; {
homepage = "https://github.com/boto/botocore";
changelog = "https://github.com/boto/botocore/blob/${version}/CHANGELOG.rst";
license = licenses.asl20;
description = "A low-level interface to a growing number of Amazon Web Services";
maintainers = with maintainers; [ anthonyroussel ];
};
}