From d4c125565e1c001a1e624819ec6fc93bba5d2434 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 19 Jan 2025 11:55:59 +0100 Subject: [PATCH] python313Packages.aiooui: 0.1.7 -> 0.1.9 Diff: https://github.com/Bluetooth-Devices/aiooui/compare/refs/tags/v0.1.7...v0.1.9 Changelog: https://github.com/Bluetooth-Devices/aiooui/blob/0.1.9/CHANGELOG.md --- pkgs/development/python-modules/aiooui/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/aiooui/default.nix b/pkgs/development/python-modules/aiooui/default.nix index 5e62b5dadb4a0..8e5835293f1bf 100644 --- a/pkgs/development/python-modules/aiooui/default.nix +++ b/pkgs/development/python-modules/aiooui/default.nix @@ -1,16 +1,18 @@ { lib, + aiohttp, buildPythonPackage, fetchFromGitHub, poetry-core, pytest-asyncio, + pytest-cov-stub, pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "aiooui"; - version = "0.1.7"; + version = "0.1.9"; pyproject = true; disabled = pythonOlder "3.9"; @@ -19,22 +21,24 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = "aiooui"; tag = "v${version}"; - hash = "sha256-vnO3Lh+d/8mES2i4jKTH4RviURUFqb3Vj6u5sxUGf1o="; + hash = "sha256-tY8/hb3BpxzKM/IB7anfmqGcXK6FmiuoJVxqpFW1Maw="; }; postPatch = '' # Remove requirements and build part for the OUI data substituteInPlace pyproject.toml \ - --replace-fail "-v -Wdefault --cov=aiooui --cov-report=term-missing:skip-covered" "" \ --replace-fail 'script = "build_oui.py"' "" \ --replace-fail ", 'requests'" "" \ --replace-fail '"setuptools>=65.4.1", ' "" ''; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; + + dependencies = [ aiohttp ]; nativeCheckInputs = [ pytest-asyncio + pytest-cov-stub pytestCheckHook ];