diff --git a/pkgs/development/python-modules/pyflipper/default.nix b/pkgs/development/python-modules/pyflipper/default.nix index 1e4eabb239d9..346179a3180a 100644 --- a/pkgs/development/python-modules/pyflipper/default.nix +++ b/pkgs/development/python-modules/pyflipper/default.nix @@ -8,9 +8,9 @@ websocket-client, }: -buildPythonPackage { +buildPythonPackage rec { pname = "pyflipper"; - version = "0.18-unstable-2024-04-15"; + version = "0.21"; pyproject = true; disabled = pythonOlder "3.10"; @@ -18,9 +18,8 @@ buildPythonPackage { src = fetchFromGitHub { owner = "wh00hw"; repo = "pyFlipper"; - # https://github.com/wh00hw/pyFlipper/issues/20 - rev = "e8a82a25eb766fac53a2e6e5fff6505f60cf0897"; - hash = "sha256-CQ6oVVkLxyoNoe7L0USfal1980VkfiuHc4cqXTsZ2Jc="; + tag = "v${version}"; + hash = "sha256-IMd9RzGblfsyDH4TC+ip5a2zx4gzXbzjIaWMldEy5xk="; }; build-system = [ setuptools ]; @@ -38,6 +37,7 @@ buildPythonPackage { meta = { description = "Flipper Zero Python CLI Wrapper"; homepage = "https://github.com/wh00hw/pyFlipper"; + changelog = "https://github.com/wh00hw/pyFlipper/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ siraben ]; };