Unverified Commit 9c99b098 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

pythpn3Packages.rctclient: migrate to finalAttrs

parent fb40f073
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "rctclient";
  version = "0.0.5";
  pyproject = true;
@@ -15,7 +15,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "svalouch";
    repo = "python-rctclient";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-f85ETzuZpOgnWpiLipLtAjOPn63yniCffWdPLyCEC3w=";
  };

@@ -30,8 +30,8 @@ buildPythonPackage rec {
  meta = {
    description = "Python implementation of the RCT Power GmbH Serial Communication Protocol";
    homepage = "https://github.com/svalouch/python-rctclient";
    changelog = "https://github.com/svalouch/python-rctclient/releases/tag/${src.tag}";
    license = with lib.licenses; [ gpl3Only ];
    changelog = "https://github.com/svalouch/python-rctclient/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ _9R ];
  };
}
})