diff --git a/pkgs/development/python-modules/yalesmartalarmclient/default.nix b/pkgs/development/python-modules/yalesmartalarmclient/default.nix index e7c02838221c..cdcb4144b1b4 100644 --- a/pkgs/development/python-modules/yalesmartalarmclient/default.nix +++ b/pkgs/development/python-modules/yalesmartalarmclient/default.nix @@ -1,30 +1,29 @@ { lib, - backoff, buildPythonPackage, fetchFromGitHub, - requests, + poetry-core, pythonOlder, + requests, }: buildPythonPackage rec { pname = "yalesmartalarmclient"; - version = "0.3.9"; - format = "setuptools"; + version = "0.4.0"; + pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "domwillcode"; repo = "yale-smart-alarm-client"; rev = "refs/tags/v${version}"; - hash = "sha256-Zpj1lLaxiTaYpcj1R/ktuVldl/r19r7fzNKvnSIDq80="; + hash = "sha256-L9y8J0NIN1LWhzcpKY1Z4BPbCHUuLQz+3Bbq+qJJeak="; }; - propagatedBuildInputs = [ - backoff - requests - ]; + build-system = [ poetry-core ]; + + dependencies = [ requests ]; # Project has no tests doCheck = false; @@ -34,6 +33,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python module to interface with Yale Smart Alarm Systems"; homepage = "https://github.com/domwillcode/yale-smart-alarm-client"; + changelog = "https://github.com/domwillcode/yale-smart-alarm-client/releases/tag/v${version}"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; };