Skip to content

Commit 3b3d6d9

Browse files
authored
gtg: replace imp with importlib (#405285)
2 parents e98805e + 819ae16 commit 3b3d6d9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pkgs/by-name/gt/gtg/package.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
lib,
33
fetchFromGitHub,
4+
fetchpatch,
45
meson,
56
python3Packages,
67
ninja,
@@ -28,6 +29,14 @@ python3Packages.buildPythonApplication rec {
2829
sha256 = "sha256-O8qBD92P2g8QrBdMXa6j0Ozk+W80Ny5yk0KNTy7ekfE=";
2930
};
3031

32+
patches = [
33+
(fetchpatch {
34+
name = "replace-imp-with-importlib.patch";
35+
url = "https://github.com/getting-things-gnome/gtg/commit/568a00a3296d12cf3b2846c59bc99d13ecba7d47.patch";
36+
hash = "sha256-i3F638ZGiKfSxVUZm6rzzPRpcIHLOO9dgV0SzNLSroI=";
37+
})
38+
];
39+
3140
nativeBuildInputs = [
3241
meson
3342
ninja

0 commit comments

Comments
 (0)