python3Packages.utils: modernize

This commit is contained in:
Harinn
2026-07-15 01:45:03 +07:00
parent 9423476732
commit 81e2b00da2
@@ -7,16 +7,18 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "utils";
version = "1.0.1";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "haaksmash";
repo = "pyutils";
rev = version;
sha256 = "07pr39cfw5ayzkp6h53y7lfpd0w19pphsdzsf100fsyy3npavgbr";
tag = finalAttrs.version;
hash = "sha256-eb2trh3eawdAcPo3De9NgYN2HT1+FGju/F4V7lga+R4=";
};
build-system = [ setuptools ];
@@ -34,4 +36,4 @@ buildPythonPackage rec {
license = with lib.licenses; [ lgpl3Only ];
maintainers = with lib.maintainers; [ fab ];
};
}
})