Commit a22923c8 authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent 757af603
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -9,29 +9,29 @@
  mashumaro,
  poetry-core,
  pytest-asyncio,
  pytest-cov-stub,
  pytestCheckHook,
  pythonOlder,
  rich,
  typer,
  yarl,
}:

buildPythonPackage rec {
  pname = "aiortm";
  version = "0.8.29";
  version = "0.9.0";
  pyproject = true;

  disabled = pythonOlder "3.9";
  disabled = pythonOlder "3.12";

  src = fetchFromGitHub {
    owner = "MartinHjelmare";
    repo = "aiortm";
    rev = "refs/tags/v${version}";
    hash = "sha256-mhtU+M4kjKdvmNFr0+HoZjDj1Hf2qYk3nPOWtdPRP/0=";
    hash = "sha256-fGUD0Ne7S2MyR4ilKy6GGzuWE+nO/DWMnBex4YZbXc8=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail " --cov=aiortm --cov-report=term-missing:skip-covered" ""
  '';
  pythonRelaxDeps = [ "typer" ];

  build-system = [ poetry-core ];

@@ -40,12 +40,15 @@ buildPythonPackage rec {
    ciso8601
    click
    mashumaro
    rich
    typer
    yarl
  ];

  nativeCheckInputs = [
    aioresponses
    pytest-asyncio
    pytest-cov-stub
    pytestCheckHook
  ];