diff --git a/pkgs/development/python-modules/ha-iotawattpy/default.nix b/pkgs/development/python-modules/ha-iotawattpy/default.nix index 2cd5b6c0ffea..4fe401a0db48 100644 --- a/pkgs/development/python-modules/ha-iotawattpy/default.nix +++ b/pkgs/development/python-modules/ha-iotawattpy/default.nix @@ -7,13 +7,13 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "ha-iotawattpy"; version = "0.1.2"; pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-eMsBEbmENjbJME9Gzo4O9LbGo1i0MP0IuwLUAYqxbI8="; }; @@ -31,4 +31,4 @@ buildPythonPackage rec { license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ fab ]; }; -} +})