Unverified Commit 27f870c3 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.ring-doorbell: migrate to finalAttrs

parent 881313de
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -21,14 +21,14 @@
  websockets,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "ring-doorbell";
  version = "0.9.14";
  pyproject = true;

  src = fetchPypi {
    pname = "ring_doorbell";
    inherit version;
    inherit (finalAttrs) version;
    hash = "sha256-M99nwMuo0OziuJpNzuZgK69HtE+/wbOgheij1UwBaRc=";
  };

@@ -75,9 +75,9 @@ buildPythonPackage rec {
  meta = {
    description = "Library to communicate with Ring Door Bell";
    homepage = "https://github.com/tchellomello/python-ring-doorbell";
    changelog = "https://github.com/tchellomello/python-ring-doorbell/blob/${version}/CHANGELOG.md";
    changelog = "https://github.com/tchellomello/python-ring-doorbell/blob/${finalAttrs.version}/CHANGELOG.md";
    license = lib.licenses.lgpl3Plus;
    maintainers = with lib.maintainers; [ graham33 ];
    mainProgram = "ring-doorbell";
  };
}
})