diff --git a/pkgs/development/python-modules/greeneye-monitor/default.nix b/pkgs/development/python-modules/greeneye-monitor/default.nix index 3efc25274d93..38f9dea75455 100644 --- a/pkgs/development/python-modules/greeneye-monitor/default.nix +++ b/pkgs/development/python-modules/greeneye-monitor/default.nix @@ -4,28 +4,27 @@ , fetchFromGitHub , pytestCheckHook , pythonOlder +, setuptools , siobrultech-protocols }: buildPythonPackage rec { pname = "greeneye-monitor"; - version = "4.0.1"; + version = "5.0"; + format = "pyproject"; disabled = pythonOlder "3.10"; - format = "setuptools"; - src = fetchFromGitHub { owner = "jkeljo"; repo = "greeneye-monitor"; rev = "refs/tags/v${version}"; - hash = "sha256-S/1MT9ZQ9G0F1WXqzNKhVo8vtfPLzr8WRlfYc7TU9iQ="; + hash = "sha256-HU+GWO08caKfQZ0tIDmJYAML4CKUM0CPukm7wD6uSEA="; }; - postPatch = '' - substituteInPlace setup.py \ - --replace "siobrultech_protocols==" "siobrultech_protocols>=" - ''; + nativeBuildInputs = [ + setuptools + ]; propagatedBuildInputs = [ aiohttp