Commit 04627e82 authored by Robert Schütz's avatar Robert Schütz
Browse files

python3Packages.geocachingapi: replace async-timeout with asyncio.timeout

parent 319bfff4
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
  backoff,
  buildPythonPackage,
  fetchFromGitHub,
  pythonOlder,
  fetchpatch,
  reverse-geocode,
  setuptools-scm,
  yarl,
@@ -15,8 +15,6 @@ buildPythonPackage rec {
  version = "0.3.0";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "Sholofly";
    repo = "geocachingapi-python";
@@ -24,6 +22,15 @@ buildPythonPackage rec {
    hash = "sha256-zme1jqn3qtoo39zyj4dKxt9M7gypMqJu0bfgY1iYhjs=";
  };

  patches = [
    # https://github.com/Sholofly/geocachingapi-python/pull/25
    (fetchpatch {
      name = "replace-async-timeout-with-asyncio.timeout.patch";
      url = "https://github.com/Sholofly/geocachingapi-python/commit/2ba042bc2a6ebb4a494f71821502df4534eeb1a1.patch";
      hash = "sha256-AtjZJ9tnBeOv76fVIiqY45MeYTzcWvXCtbc6DevH8aM=";
    })
  ];

  build-system = [ setuptools-scm ];

  dependencies = [