python312Packages.renault-api: 0.2.1 -> 0.2.2
Diff: https://github.com/hacf-fr/renault-api/compare/refs/tags/v0.2.1...v0.2.2 Changelog: https://github.com/hacf-fr/renault-api/releases/tag/v0.2.2
This commit is contained in:
parent
f7e20b2e09
commit
de13c3a1bc
1 changed files with 22 additions and 10 deletions
|
@ -3,6 +3,7 @@
|
|||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, cryptography
|
||||
, dateparser
|
||||
, fetchFromGitHub
|
||||
, marshmallow-dataclass
|
||||
|
@ -12,41 +13,52 @@
|
|||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, tabulate
|
||||
, typeguard
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "renault-api";
|
||||
version = "0.2.1";
|
||||
version = "0.2.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hacf-fr";
|
||||
repo = pname;
|
||||
repo = "renault-api";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-HDaX94XHkyrIA0hWYwcpUItEIeRK2ACvS6jg1YA6Wv4=";
|
||||
hash = "sha256-FZ1VNO8gEH7HJRu9EVuKIwSQbceG720tCVqAPqHwISQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
click
|
||||
dateparser
|
||||
cryptography
|
||||
marshmallow-dataclass
|
||||
pyjwt
|
||||
tabulate
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
dependencies = [
|
||||
aioresponses
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
cli = [
|
||||
click
|
||||
dateparser
|
||||
tabulate
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
typeguard
|
||||
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||
|
||||
pytestFlagsArray = [
|
||||
"--asyncio-mode=auto"
|
||||
];
|
||||
|
@ -57,10 +69,10 @@ buildPythonPackage rec {
|
|||
|
||||
meta = with lib; {
|
||||
description = "Python library to interact with the Renault API";
|
||||
mainProgram = "renault-api";
|
||||
homepage = "https://github.com/hacf-fr/renault-api";
|
||||
changelog = "https://github.com/hacf-fr/renault-api/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "renault-api";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue