python3Packages.beanquery: Fix build with beancount 3.2.0

This commit is contained in:
Andrei Lapshin
2025-09-19 12:05:49 +02:00
parent 65c78cd07e
commit 96e76d5432
@@ -4,6 +4,7 @@
click,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
python-dateutil,
pytestCheckHook,
setuptools,
@@ -21,6 +22,14 @@ buildPythonPackage rec {
hash = "sha256-O7+WCF7s50G14oNTvJAOTvgSoNR9fWcn/m1jv7RHmK8=";
};
patches = [
(fetchpatch2 {
name = "beancount-workaround.patch";
url = "https://github.com/beancount/beanquery/commit/aa0776285a25baeedf151e9f582bef0314f76004.patch?full_index=1";
hash = "sha256-hWL1CDsBSbMqufEQrtEncmyUr5L5VJI+i4xQtnAvQd8=";
})
];
build-system = [ setuptools ];
dependencies = [