python314Packages.pypika: add patch to fix ast deprecation

This commit is contained in:
Fabian Affolter
2026-01-05 16:55:50 +01:00
parent 3bc9bc7e92
commit cbccbf934d
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
parameterized,
unittestCheckHook,
setuptools,
@@ -19,6 +20,15 @@ buildPythonPackage (finalAttrs: {
hash = "sha256-Lawsc19sJ3U7rCOnYvDWhWqK/J+Hd3zKG6TrhDsTtVs=";
};
patches = [
# Fix ast deprecation warnings, https://github.com/HENNGE/arsenic/pull/160
(fetchpatch {
name = "ast-deprecation.patch";
url = "https://github.com/pyctrl/pypika/commit/e302e4d1c26242bcff61b50e0e8f157f181e1bc0.patch";
hash = "sha256-pbJwOE5xaAapMKdm1xsNrISbCzHIKuhCgA2lA0vB1T8=";
})
];
build-system = [ setuptools ];
nativeCheckInputs = [