python312Packages.pytrydan: refactor

This commit is contained in:
Fabian Affolter 2024-05-10 09:15:47 +02:00
parent 353b04e5f6
commit bfa6d81029

View file

@ -30,14 +30,14 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace " --cov=pytrydan --cov-report=term-missing:skip-covered" "" --replace-fail " --cov=pytrydan --cov-report=term-missing:skip-covered" ""
''; '';
nativeBuildInputs = [ build-system = [
poetry-core poetry-core
]; ];
propagatedBuildInputs = [ dependencies = [
httpx httpx
orjson orjson
rich rich
@ -58,10 +58,10 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Library to interface with V2C EVSE Trydan"; description = "Library to interface with V2C EVSE Trydan";
mainProgram = "pytrydan";
homepage = "https://github.com/dgomes/pytrydan"; homepage = "https://github.com/dgomes/pytrydan";
changelog = "https://github.com/dgomes/pytrydan/blob/${version}/CHANGELOG.md"; changelog = "https://github.com/dgomes/pytrydan/blob/${version}/CHANGELOG.md";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
mainProgram = "pytrydan";
}; };
} }