python3Packages.aioblescan: use finalAttrs

This commit is contained in:
Sigmanificient
2026-05-02 02:23:40 +02:00
parent 1f04451b51
commit 1b10d4d7b5
@@ -6,7 +6,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "aioblescan";
version = "0.2.14";
pyproject = true;
@@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "frawau";
repo = "aioblescan";
tag = version;
tag = finalAttrs.version;
hash = "sha256-JeA9jX566OSRiejdnlifbcNGm0J0C+xzA6zXDUyZ6jc=";
};
@@ -28,8 +28,8 @@ buildPythonPackage rec {
description = "Library to listen for BLE advertized packets";
mainProgram = "aioblescan";
homepage = "https://github.com/frawau/aioblescan";
changelog = "https://github.com/frawau/aioblescan/releases/tag/${version}";
changelog = "https://github.com/frawau/aioblescan/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})