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

Merge pull request #216545 from fabaff/pyopenuv-bump

python310Packages.pyopenuv: add patch to remove asynctest
parents 15be2821 06334618
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
{ lib
, aiohttp
, aresponses
, asynctest
, backoff
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, poetry-core
, pytest-aiohttp
, pytest-asyncio
@@ -26,6 +26,15 @@ buildPythonPackage rec {
    hash = "sha256-EiTTck6hmOGSQ7LyZsbhnH1zgkH8GccejLdJaH2m0F8=";
  };

  patches = [
    # Remove asynctest, https://github.com/bachya/pyopenuv/pull/108
    (fetchpatch {
      name = "remove-asynctest.patch";
      url = "https://github.com/bachya/pyopenuv/commit/af15736b0d82ef811c3f380f5da32007752644fe.patch";
      hash = "sha256-5uQS3DoM91mhfyxLTNii3JBxwXIDK4/GwtadkVagjuw=";
    })
  ];

  nativeBuildInputs = [
    poetry-core
  ];
@@ -37,7 +46,6 @@ buildPythonPackage rec {

  nativeCheckInputs = [
    aresponses
    asynctest
    pytest-asyncio
    pytest-aiohttp
    pytestCheckHook
@@ -55,6 +63,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Python API to retrieve data from openuv.io";
    homepage = "https://github.com/bachya/pyopenuv";
    changelog = "https://github.com/bachya/pyopenuv/releases/tag/${version}";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };