Commit 819ae166 authored by Robert Schütz's avatar Robert Schütz
Browse files

gtg: replace imp with importlib

parent f0f5a68f
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  fetchpatch,
  meson,
  python3Packages,
  ninja,
@@ -28,6 +29,14 @@ python3Packages.buildPythonApplication rec {
    sha256 = "sha256-O8qBD92P2g8QrBdMXa6j0Ozk+W80Ny5yk0KNTy7ekfE=";
  };

  patches = [
    (fetchpatch {
      name = "replace-imp-with-importlib.patch";
      url = "https://github.com/getting-things-gnome/gtg/commit/568a00a3296d12cf3b2846c59bc99d13ecba7d47.patch";
      hash = "sha256-i3F638ZGiKfSxVUZm6rzzPRpcIHLOO9dgV0SzNLSroI=";
    })
  ];

  nativeBuildInputs = [
    meson
    ninja