Diff: https://github.com/CJNE/pyporscheconnectapi/compare/0.2.4...0.2.5 Changelog: https://github.com/CJNE/pyporscheconnectapi/releases/tag/0.2.5
49 lines
980 B
Nix
49 lines
980 B
Nix
{
|
|
lib,
|
|
beautifulsoup4,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
httpx,
|
|
rich,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyporscheconnectapi";
|
|
version = "0.2.5";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CJNE";
|
|
repo = "pyporscheconnectapi";
|
|
tag = version;
|
|
hash = "sha256-uB8dbAWoHUWuvWyUhPV1P2wPH/ZzVX22PJNEiDYoOA4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|