Commit df1bdafd authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent 6bb4538e
Loading
Loading
Loading
Loading
+7 −8
Original line number Diff line number Diff line
@@ -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