python3Packages.fjaraskupan: modernize

This commit is contained in:
Fabian Affolter
2026-06-03 10:15:21 +02:00
committed by GitHub
parent ce23bbda26
commit 649e1e3f8f
@@ -9,7 +9,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "fjaraskupan";
version = "2.3.4";
pyproject = true;
@@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "elupus";
repo = "fjaraskupan";
tag = version;
tag = finalAttrs.version;
hash = "sha256-0rJoUQYexB+4ehOXKa1aca401E7opDtdoBmIW/2uOOE=";
};
@@ -38,8 +38,8 @@ buildPythonPackage rec {
meta = {
description = "Module for controlling Fjäråskupan kitchen fans";
homepage = "https://github.com/elupus/fjaraskupan";
changelog = "https://github.com/elupus/fjaraskupan/releases/tag/${version}";
license = with lib.licenses; [ mit ];
changelog = "https://github.com/elupus/fjaraskupan/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})