From a441adc780ab88827bcc9d3b3f3a43fa8c3706bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 6 May 2026 10:49:27 -0700 Subject: [PATCH] python3Packages.peblar: 0.4.0 -> 0.5.1 Diff: https://github.com/frenck/python-peblar/compare/v0.4.0...v0.5.1 Changelog: https://github.com/frenck/python-peblar/releases/tag/v0.5.1 --- .../python-modules/peblar/default.nix | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/peblar/default.nix b/pkgs/development/python-modules/peblar/default.nix index e0443c9e40a7..e7f0ad548361 100644 --- a/pkgs/development/python-modules/peblar/default.nix +++ b/pkgs/development/python-modules/peblar/default.nix @@ -1,18 +1,19 @@ { lib, aiohttp, - aresponses, + aioresponses, awesomeversion, - backoff, buildPythonPackage, fetchFromGitHub, - hatchling, mashumaro, orjson, + poetry-core, pytest-asyncio, pytest-cov-stub, pytestCheckHook, + rich, syrupy, + tenacity, typer, yarl, zeroconf, @@ -20,14 +21,14 @@ buildPythonPackage rec { pname = "peblar"; - version = "0.4.0"; + version = "0.5.1"; pyproject = true; src = fetchFromGitHub { owner = "frenck"; repo = "python-peblar"; tag = "v${version}"; - hash = "sha256-cHb/VTaa7tkePqV7eLpDSxrnY8hAnjshwtwyWmJnt/4="; + hash = "sha256-58PIvbl0QqOrvEc2rIieImWSnGZVIrhVAwsN+fZcWT4="; }; postPatch = '' @@ -36,31 +37,33 @@ buildPythonPackage rec { --replace-fail 'version = "0.0.0"' 'version = "${version}"' ''; - build-system = [ hatchling ]; + build-system = [ poetry-core ]; dependencies = [ aiohttp awesomeversion - backoff mashumaro orjson + tenacity yarl ]; optional-dependencies = { cli = [ + rich typer zeroconf ]; }; nativeCheckInputs = [ - aresponses + aioresponses pytest-asyncio pytest-cov-stub pytestCheckHook syrupy - ]; + ] + ++ lib.concatAttrValues optional-dependencies; pythonImportsCheck = [ "peblar" ]; @@ -69,6 +72,7 @@ buildPythonPackage rec { homepage = "https://github.com/frenck/python-peblar"; changelog = "https://github.com/frenck/python-peblar/releases/tag/v${version}"; license = lib.licenses.mit; + mainProgram = "peblar"; maintainers = with lib.maintainers; [ fab ]; }; }