55 lines
1.1 KiB
Nix
55 lines
1.1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python-dateutil
|
|
, jmespath
|
|
, docutils
|
|
, urllib3
|
|
, pytestCheckHook
|
|
, jsonschema
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "botocore";
|
|
version = "1.29.40"; # N.B: if you change this, change boto3 and awscli to a matching version
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-5YKsBykBjaQVsLXeFOox/9CtBIOp/bgUeQJSbQY0f7c=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
python-dateutil
|
|
jmespath
|
|
docutils
|
|
urllib3
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
jsonschema
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|