Unverified Commit 15854a2e authored by Robert Scott's avatar Robert Scott Committed by GitHub
Browse files

python3Packages.hydrogram: don't use async in tests (#406033)

parents b15c9b62 dba86153
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  aiosqlite,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch2,
  hatchling,
  pyaes,
  pysocks,
@@ -25,6 +26,15 @@ buildPythonPackage rec {
    hash = "sha256-QpweUDCypTxOOWL08gCUuMgbuE4130iNyxRpUNuSBac=";
  };

  patches = [
    (fetchpatch2 {
      name = "fix-async-in-test.patch";
      excludes = [ ".github/workflows/code-style.yml" ];
      url = "https://github.com/hydrogram/hydrogram/commit/7431319a1d990aa838012bd566a9746da7df2a6e.patch";
      hash = "sha256-MPv13cxnNPDD+p9EPjDPFqydGy57oXzLeRxL3lG8JKU=";
    })
  ];

  build-system = [ hatchling ];

  dependencies = [