diff options
Diffstat (limited to 'pkgs/development/python-modules/greeneye-monitor/default.nix')
-rw-r--r-- | pkgs/development/python-modules/greeneye-monitor/default.nix | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/greeneye-monitor/default.nix b/pkgs/development/python-modules/greeneye-monitor/default.nix index 3efc25274d9..38f9dea7545 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 |