10 marshmallow-dataclass,
20 buildPythonPackage rec {
21 pname = "renault-api";
25 disabled = pythonOlder "3.7";
27 src = fetchFromGitHub {
30 rev = "refs/tags/v${version}";
31 hash = "sha256-FZ1VNO8gEH7HJRu9EVuKIwSQbceG720tCVqAPqHwISQ=";
34 build-system = [ poetry-core ];
36 propagatedBuildInputs = [
48 passthru.optional-dependencies = {
59 ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
61 pytestFlagsArray = [ "--asyncio-mode=auto" ];
63 pythonImportsCheck = [ "renault_api" ];
66 description = "Python library to interact with the Renault API";
67 homepage = "https://github.com/hacf-fr/renault-api";
68 changelog = "https://github.com/hacf-fr/renault-api/releases/tag/v${version}";
69 license = licenses.mit;
70 maintainers = with maintainers; [ fab ];
71 mainProgram = "renault-api";