From 2311cf99835b775ca6ac855bdf9bc872c385fa03 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 23 Dec 2024 22:24:24 +0100 Subject: [PATCH] python312Packages.keba-kecontact: 3.0.3 -> 4.0.2 Diff: https://github.com/dannerph/keba-kecontact/compare/refs/tags/3.0.3...4.0.2 Changelog: https://github.com/dannerph/keba-kecontact/releases/tag/4.0.2 --- .../python-modules/keba-kecontact/default.nix | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/keba-kecontact/default.nix b/pkgs/development/python-modules/keba-kecontact/default.nix index 66ed7604fa05..7768da48715d 100644 --- a/pkgs/development/python-modules/keba-kecontact/default.nix +++ b/pkgs/development/python-modules/keba-kecontact/default.nix @@ -3,31 +3,34 @@ asyncio-dgram, buildPythonPackage, fetchFromGitHub, - netifaces, + hatchling, + ifaddr, + pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "keba-kecontact"; - version = "3.0.3"; - format = "setuptools"; + version = "4.0.2"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "dannerph"; repo = "keba-kecontact"; rev = "refs/tags/${version}"; - hash = "sha256-gR1ut2IjrU/JMy8/ZFv0jQTB6c3A/tZqtXMpQsapuj0="; + hash = "sha256-HzfoWijsrtDNElqyxWB7f07OTMIoS/fEjmdX59G+Hw0="; }; - propagatedBuildInputs = [ + build-system = [ hatchling ]; + + dependencies = [ asyncio-dgram - netifaces + ifaddr ]; - # Module has no tests - doCheck = false; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "keba_kecontact" ];