diff --git a/pkgs/development/python-modules/pysmartthings/default.nix b/pkgs/development/python-modules/pysmartthings/default.nix index 3306db65501b..f9b2b03d3276 100644 --- a/pkgs/development/python-modules/pysmartthings/default.nix +++ b/pkgs/development/python-modules/pysmartthings/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "pysmartthings"; - version = "2.7.4"; + version = "3.0.1"; pyproject = true; disabled = pythonOlder "3.12"; @@ -26,8 +26,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "andrewsayre"; repo = "pysmartthings"; - rev = "v${version}"; - hash = "sha256-WkUFAsZzdQI/LopJp5m1Nj4kLsRFmQWRe10eTcAUYGw="; + tag = "v${version}"; + hash = "sha256-chWyhwc5vEgH3x7chMLn+aCiylIw8kOHRya1/rhk8cg="; }; build-system = [ poetry-core ]; @@ -53,7 +53,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python library for interacting with the SmartThings cloud API"; homepage = "https://github.com/andrewsayre/pysmartthings"; - changelog = "https://github.com/andrewsayre/pysmartthings/releases/tag/v${version}"; + changelog = "https://github.com/andrewsayre/pysmartthings/releases/tag/${src.tag}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };