Unverified Commit b9a98811 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python312Packages.p1monitor: 3.1.0 -> 3.1.0 (#347035)

parents f2fbd0f8 dba08ef2
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -7,13 +7,14 @@
  poetry-core,
  pytest-asyncio,
  pytestCheckHook,
  syrupy,
  pythonOlder,
  yarl,
}:

buildPythonPackage rec {
  pname = "p1monitor";
  version = "3.0.1";
  version = "3.1.0";
  pyproject = true;

  disabled = pythonOlder "3.11";
@@ -22,7 +23,7 @@ buildPythonPackage rec {
    owner = "klaasnicolaas";
    repo = "python-p1monitor";
    rev = "refs/tags/v${version}";
    hash = "sha256-WEvNPtaKGJsbHLjGjSl0/9BewmLLMFLoN9SHMdEBoAM=";
    hash = "sha256-vr/JLvn593cgZ2KEsfDW1lS4QlGiymr0qZ8130zo6Ec=";
  };

  postPatch = ''
@@ -31,9 +32,9 @@ buildPythonPackage rec {
      --replace 'addopts = "--cov"' ""
  '';

  nativeBuildInputs = [ poetry-core ];
  build-system = [ poetry-core ];

  propagatedBuildInputs = [
  dependencies = [
    aiohttp
    yarl
  ];
@@ -42,6 +43,7 @@ buildPythonPackage rec {
    aresponses
    pytest-asyncio
    pytestCheckHook
    syrupy
  ];

  pythonImportsCheck = [ "p1monitor" ];
@@ -50,7 +52,7 @@ buildPythonPackage rec {
    description = "Module for interacting with the P1 Monitor";
    homepage = "https://github.com/klaasnicolaas/python-p1monitor";
    changelog = "https://github.com/klaasnicolaas/python-p1monitor/releases/tag/v${version}";
    license = with licenses; [ mit ];
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}