Unverified Commit 84710b29 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python314Packages.powerfox: migrate to finalAttrs

parent 6a43c101
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
  yarl,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "powerfox";
  version = "2.1.0";
  pyproject = true;
@@ -22,7 +22,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "klaasnicolaas";
    repo = "python-powerfox";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-JsvLa5zZ6E+d5l4sIngp0KvZlN8BgBxllk9Md19kZLY=";
  };

@@ -48,8 +48,8 @@ buildPythonPackage rec {
  meta = {
    description = "Asynchronous Python client for the Powerfox devices";
    homepage = "https://github.com/klaasnicolaas/python-powerfox";
    changelog = "https://github.com/klaasnicolaas/python-powerfox/releases/tag/${src.tag}";
    changelog = "https://github.com/klaasnicolaas/python-powerfox/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
})