From 7e7c5fb79c97e767e50bf346a84ce4720f634040 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 5 Dec 2025 15:39:18 +0100 Subject: [PATCH] python313Packages.mill-local: modernize --- .../python-modules/mill-local/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/mill-local/default.nix b/pkgs/development/python-modules/mill-local/default.nix index ea35d5ced97b..2b298fa1f0a4 100644 --- a/pkgs/development/python-modules/mill-local/default.nix +++ b/pkgs/development/python-modules/mill-local/default.nix @@ -4,15 +4,13 @@ async-timeout, buildPythonPackage, fetchFromGitHub, - pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "mill-local"; version = "0.5.0"; - format = "setuptools"; - - disabled = pythonOlder "3.8"; + pyproject = true; src = fetchFromGitHub { owner = "Danielhiversen"; @@ -21,7 +19,9 @@ buildPythonPackage rec { hash = "sha256-t6nZ6KXX5GFIcdNIXyFxYtSjOuuUJmCekaBITNgcIkU="; }; - propagatedBuildInputs = [ + buildInputs = [ setuptools ]; + + dependencies = [ aiohttp async-timeout ]; @@ -34,8 +34,8 @@ buildPythonPackage rec { meta = with lib; { description = "Python module to communicate locally with Mill heaters"; homepage = "https://github.com/Danielhiversen/pyMillLocal"; - changelog = "https://github.com/Danielhiversen/pyMillLocal/releases/tag/${version}"; - license = with licenses; [ mit ]; + changelog = "https://github.com/Danielhiversen/pyMillLocal/releases/tag/${src.tag}"; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }