python313Packages.mill-local: modernize

This commit is contained in:
Fabian Affolter
2025-12-05 15:39:18 +01:00
parent 677109597e
commit 7e7c5fb79c
@@ -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 ];
};
}