Merge pull request #310516 from fabaff/pytrydan-bump

python312Packages.pytrydan: 0.4.0 -> 0.6.0
This commit is contained in:
Fabian Affolter 2024-05-10 12:32:21 +02:00 committed by GitHub
commit 372bb82a1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,22 +1,23 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, httpx
, orjson
, poetry-core
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, respx
, rich
, syrupy
, tenacity
, typer
{
lib,
buildPythonPackage,
fetchFromGitHub,
httpx,
orjson,
poetry-core,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
respx,
rich,
syrupy,
tenacity,
typer,
}:
buildPythonPackage rec {
pname = "pytrydan";
version = "0.4.0";
version = "0.6.0";
pyproject = true;
disabled = pythonOlder "3.10";
@ -25,19 +26,17 @@ buildPythonPackage rec {
owner = "dgomes";
repo = "pytrydan";
rev = "refs/tags/v${version}";
hash = "sha256-9PyRICtZ+0Ezinu28oFgFOSnOyCmD7zZbdc/chN+sCo=";
hash = "sha256-+hFwBFYtRseVwesZtSrL3J/ZnsMAjD2ZAhTlk41hfqU=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=pytrydan --cov-report=term-missing:skip-covered" ""
--replace-fail " --cov=pytrydan --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [
poetry-core
];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
httpx
orjson
rich
@ -52,16 +51,14 @@ buildPythonPackage rec {
syrupy
];
pythonImportsCheck = [
"pytrydan"
];
pythonImportsCheck = [ "pytrydan" ];
meta = with lib; {
description = "Library to interface with V2C EVSE Trydan";
mainProgram = "pytrydan";
homepage = "https://github.com/dgomes/pytrydan";
changelog = "https://github.com/dgomes/pytrydan/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "pytrydan";
};
}