python3Packages.aioemonitor: use finalAttrs

This commit is contained in:
Sigmanificient
2026-05-27 23:23:53 +02:00
parent 027a66e5fd
commit e71f61f001
@@ -11,7 +11,7 @@
xmltodict,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "aioemonitor";
version = "1.0.5";
pyproject = true;
@@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "bdraco";
repo = "aioemonitor";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "0h8zqqy8v8r1fl9bp3m8icr2sy44p0mbfl1hbb0zni17r9r50dhn";
};
@@ -50,4 +50,4 @@ buildPythonPackage rec {
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ fab ];
};
}
})