nixpkgs/pkgs/development/python-modules/botocore/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
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.
2023-01-21 12:00:00 +00:00

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 ];
};
}