33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
54 lines
1.1 KiB
Nix
54 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
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|