From 4ee1cb72377bcb5ca892d5f2483b4a10cf0814ac Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 7 Apr 2026 20:13:05 +0200 Subject: [PATCH] python3Packages.hole: 0.9.0 -> 0.9.1 Diff: https://github.com/home-assistant-ecosystem/python-hole/compare/0.9.0...0.9.1 Changelog: https://github.com/home-assistant-ecosystem/python-hole/releases/tag/0.9.1 --- .../python-modules/hole/default.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/hole/default.nix b/pkgs/development/python-modules/hole/default.nix index aaf2ac24370c..f29a4ee3358f 100644 --- a/pkgs/development/python-modules/hole/default.nix +++ b/pkgs/development/python-modules/hole/default.nix @@ -3,30 +3,31 @@ aiohttp, buildPythonPackage, fetchFromGitHub, - pythonOlder, - setuptools, + hatchling, + pytest-asyncio, + pytestCheckHook, }: buildPythonPackage rec { pname = "hole"; - version = "0.9.0"; + version = "0.9.1"; pyproject = true; - disabled = pythonOlder "3.12"; - src = fetchFromGitHub { owner = "home-assistant-ecosystem"; repo = "python-hole"; tag = version; - hash = "sha256-yyqLbnW49R7f8C0IBL8z9Sq69TtaS5Ng2VQLJofNqcI="; + hash = "sha256-rIKb6GeULi2ooNtWD2a23JQxO9HkXiUYy0AroYeVeKU="; }; - build-system = [ setuptools ]; + build-system = [ hatchling ]; dependencies = [ aiohttp ]; - # Module has no tests - doCheck = false; + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + ]; pythonImportsCheck = [ "hole" ];