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

Merge pull request #282421 from fabaff/demetriek-fix

python311Packages.demetriek: relax pydantic
parents fb940431 466deea4
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
{ lib
, aiohttp
, aresponses
, awesomeversion
, backoff
, buildPythonPackage
, pydantic
, fetchFromGitHub
, fetchpatch
, poetry-core
, yarl
, aresponses
, pydantic
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, yarl
}:

buildPythonPackage rec {
  pname = "demetriek";
  version = "0.4.0";
  format = "pyproject";
  pyproject = true;

  disabled = pythonOlder "3.9";

@@ -45,8 +46,13 @@ buildPythonPackage rec {
      --replace "--cov" ""
  '';

  pythonRelaxDeps = [
    "pydantic"
  ];

  nativeBuildInputs = [
    poetry-core
    pythonRelaxDepsHook
  ];

  propagatedBuildInputs = [
@@ -72,6 +78,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Python client for LaMetric TIME devices";
    homepage = "https://github.com/frenck/python-demetriek";
    changelog = "https://github.com/frenck/python-demetriek/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };