diff --git a/pkgs/development/python-modules/pylitterbot/default.nix b/pkgs/development/python-modules/pylitterbot/default.nix index 912b968538b8..0734c006f552 100644 --- a/pkgs/development/python-modules/pylitterbot/default.nix +++ b/pkgs/development/python-modules/pylitterbot/default.nix @@ -4,6 +4,7 @@ , buildPythonPackage , fetchFromGitHub , poetry-core +, poetry-dynamic-versioning , pyjwt , pytest-aiohttp , pytest-freezegun @@ -14,7 +15,7 @@ buildPythonPackage rec { pname = "pylitterbot"; - version = "2023.4.0"; + version = "2023.4.2"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -22,12 +23,13 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "natekspencer"; repo = pname; - rev = "refs/tags/${version}"; - hash = "sha256-nF6njY2qNoHW2ZGNDHNeTBTjSBbitJxitPgyayLaqSE="; + rev = "refs/tags/v${version}"; + hash = "sha256-zB/LJGEPJ3uZEoVQiLQUCWqLo9YLXN6vge3RhIwA5D4="; }; nativeBuildInputs = [ poetry-core + poetry-dynamic-versioning ]; propagatedBuildInputs = [ @@ -50,7 +52,7 @@ buildPythonPackage rec { meta = with lib; { description = "Modulefor controlling a Litter-Robot"; homepage = "https://github.com/natekspencer/pylitterbot"; - changelog = "https://github.com/natekspencer/pylitterbot/releases/tag/${version}"; + changelog = "https://github.com/natekspencer/pylitterbot/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };