Merge pull request #254391 from fabaff/greeneye-monitor-bump

python311Packages.greeneye-monitor: 4.0.1 -> 5.0
This commit is contained in:
Fabian Affolter 2023-09-10 19:14:05 +02:00 committed by GitHub
commit 2785d92e77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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