Unverified Commit 204e7d7a authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.eternalegypt: move from async_timeout.timeout() to asyncio.timeout() (#461135)

parents 534d5ee7 10f79c9d
Loading
Loading
Loading
Loading
+15 −5
Original line number Diff line number Diff line
@@ -4,15 +4,14 @@
  attrs,
  buildPythonPackage,
  fetchFromGitHub,
  pythonOlder,
  fetchpatch,
  setuptools,
}:

buildPythonPackage rec {
  pname = "eternalegypt";
  version = "0.0.16";
  format = "setuptools";

  disabled = pythonOlder "3.8";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "amelchio";
@@ -21,7 +20,18 @@ buildPythonPackage rec {
    hash = "sha256-ubKepd3yBaoYrIUe5WCt1zd4CjvU7SeftOR+2cBaEf0=";
  };

  propagatedBuildInputs = [
  patches = [
    # https://github.com/amelchio/eternalegypt/pull/38
    (fetchpatch {
      name = "move-from-async_timeout.timeout-to-asyncio.timeout.patch";
      url = "https://github.com/amelchio/eternalegypt/commit/f496ae2d38b5d4a3f676310b5bb45c7c34b5262f.patch";
      hash = "sha256-8AHFEP/2yMeyoSWCxNyG+ARS7T40hkEwJ/rp9S8ouSE=";
    })
  ];

  build-system = [ setuptools ];

  dependencies = [
    aiohttp
    attrs
  ];