python313Packages.pyporscheconnectapi: init at 0.2.3 (#395583)

This commit is contained in:
Fabian Affolter
2025-04-03 08:20:02 +02:00
committed by GitHub
2 changed files with 50 additions and 0 deletions
@@ -0,0 +1,48 @@
{
lib,
beautifulsoup4,
buildPythonPackage,
fetchFromGitHub,
httpx,
rich,
setuptools,
}:
buildPythonPackage rec {
pname = "pyporscheconnectapi";
version = "0.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "CJNE";
repo = "pyporscheconnectapi";
tag = version;
hash = "sha256-MQYhIp+DUYcRKAEwcT8qzrFY043b33BHR8jma3jR0lE=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-fail '"pytest-runner"' ""
'';
build-system = [ setuptools ];
dependencies = [
beautifulsoup4
httpx
rich
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "pyporscheconnectapi" ];
meta = {
description = "Python client library for Porsche Connect API";
homepage = "https://github.com/CJNE/pyporscheconnectapi";
changelog = "https://github.com/CJNE/pyporscheconnectapi/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
+2
View File
@@ -12877,6 +12877,8 @@ self: super: with self; {
pypoolstation = callPackage ../development/python-modules/pypoolstation { };
pyporscheconnectapi = callPackage ../development/python-modules/pyporscheconnectapi { };
pyppeteer = callPackage ../development/python-modules/pyppeteer { };
pyppmd = callPackage ../development/python-modules/pyppmd { };