Commit 49080dfe authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.adafruit-platformdetect: migrate to finalAttrs

parent 920e94a0
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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 ];
  };
}
})