From 5b24d34e50216605465522eae8e2240601052dcb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Oct 2025 00:47:02 +0200 Subject: [PATCH 1/2] python313Packages.millheater: 0.13.1 -> 0.14.0 Diff: https://github.com/Danielhiversen/pymill/compare/0.13.1...0.14.0 Changelog: https://github.com/Danielhiversen/pymill/releases/tag/0.14.0 --- pkgs/development/python-modules/millheater/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/millheater/default.nix b/pkgs/development/python-modules/millheater/default.nix index 030d7aea1c1a..dc253f1ffab4 100644 --- a/pkgs/development/python-modules/millheater/default.nix +++ b/pkgs/development/python-modules/millheater/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "millheater"; - version = "0.13.1"; + version = "0.14.0"; pyproject = true; disabled = pythonOlder "3.10"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "Danielhiversen"; repo = "pymill"; tag = version; # https://github.com/Danielhiversen/pymill/issues/87 - hash = "sha256-fdKMX85uo5L/1ko5aXHzLcWbr24StzRV38jjEbeRRkw="; + hash = "sha256-s2uufn4G3yTDLd0v72KAL8AuZNSBYwQRkAX8UKXcex4="; }; build-system = [ setuptools ]; From 622bb13b961b12b7d8bb49d004101c223ee2fd0e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Oct 2025 00:53:22 +0200 Subject: [PATCH 2/2] python313Packages.millheater: modernize --- pkgs/development/python-modules/millheater/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/millheater/default.nix b/pkgs/development/python-modules/millheater/default.nix index dc253f1ffab4..7873650a99a3 100644 --- a/pkgs/development/python-modules/millheater/default.nix +++ b/pkgs/development/python-modules/millheater/default.nix @@ -1,11 +1,9 @@ { lib, aiohttp, - async-timeout, buildPythonPackage, fetchFromGitHub, pyjwt, - pythonOlder, setuptools, }: @@ -14,12 +12,10 @@ buildPythonPackage rec { version = "0.14.0"; pyproject = true; - disabled = pythonOlder "3.10"; - src = fetchFromGitHub { owner = "Danielhiversen"; repo = "pymill"; - tag = version; # https://github.com/Danielhiversen/pymill/issues/87 + tag = version; hash = "sha256-s2uufn4G3yTDLd0v72KAL8AuZNSBYwQRkAX8UKXcex4="; }; @@ -27,7 +23,6 @@ buildPythonPackage rec { dependencies = [ aiohttp - async-timeout pyjwt ]; @@ -40,7 +35,7 @@ buildPythonPackage rec { description = "Python library for Mill heater devices"; homepage = "https://github.com/Danielhiversen/pymill"; changelog = "https://github.com/Danielhiversen/pymill/releases/tag/${src.tag}"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }