python313Packages.adafruit-platformdetect: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-02-02 02:35:06 +01:00
parent 920e94a0b0
commit 49080dfea7
@@ -5,14 +5,14 @@
setuptools-scm,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "adafruit-platformdetect";
version = "3.87.0";
pyproject = true;
src = fetchPypi {
pname = "adafruit_platformdetect";
inherit version;
inherit (finalAttrs) version;
hash = "sha256-RUkhGgTxydSCICkhBevVhaFYDYNTZye+jOLiHwyBFIY=";
};
@@ -26,8 +26,8 @@ buildPythonPackage rec {
meta = {
description = "Platform detection for use by Adafruit libraries";
homepage = "https://github.com/adafruit/Adafruit_Python_PlatformDetect";
changelog = "https://github.com/adafruit/Adafruit_Python_PlatformDetect/releases/tag/${version}";
changelog = "https://github.com/adafruit/Adafruit_Python_PlatformDetect/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})