Fabian Affolter 2024-06-05 22:33:45 +02:00 committed by Martin Weinelt
parent 4f414748bc
commit a16aaac2f3
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -19,8 +19,8 @@
buildPythonPackage rec {
pname = "renault-api";
version = "0.2.2";
format = "pyproject";
version = "0.2.3";
pyproject = true;
disabled = pythonOlder "3.7";
@ -28,24 +28,19 @@ buildPythonPackage rec {
owner = "hacf-fr";
repo = "renault-api";
rev = "refs/tags/v${version}";
hash = "sha256-FZ1VNO8gEH7HJRu9EVuKIwSQbceG720tCVqAPqHwISQ=";
hash = "sha256-+QqiD4mMfzlHmSiriaS0JzbMdOGCG7cg/xv6zJaPSOU=";
};
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
aiohttp
cryptography
marshmallow-dataclass
pyjwt
];
dependencies = [
aioresponses
pytest-asyncio
];
passthru.optional-dependencies = {
optional-dependencies = {
cli = [
click
dateparser
@ -54,11 +49,11 @@ buildPythonPackage rec {
};
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
typeguard
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pytestFlagsArray = [ "--asyncio-mode=auto" ];
] ++ lib.flatten (lib.attrValues optional-dependencies);
pythonImportsCheck = [ "renault_api" ];