python312Packages.pytrydan: refactor
This commit is contained in:
parent
353b04e5f6
commit
bfa6d81029
1 changed files with 4 additions and 4 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue