beancount: 3.2.0 -> 3.2.3

This commit is contained in:
Cameron Brown
2026-05-22 23:54:45 -04:00
parent a4745de3fc
commit 88e9b2dfd2
@@ -16,7 +16,7 @@
}:
buildPythonPackage rec {
version = "3.2.0";
version = "3.2.3";
pname = "beancount";
pyproject = true;
@@ -24,21 +24,15 @@ buildPythonPackage rec {
owner = "beancount";
repo = "beancount";
tag = version;
hash = "sha256-XWTgaBvB4/SONL44afvprZwJUVrkoda5XLGNxad0kec=";
hash = "sha256-WM8SM2ZHphafzXHyVi4Fo9tgsClAnmLsZKZUsf2Twmg=";
};
patches = [
(fetchpatch2 {
name = "accept-date-range-error-message-from-py3.14";
url = "https://salsa.debian.org/python-team/packages/beancount/-/raw/debian/sid/debian/patches/0003-Accept-date-range-error-message-from-py3.14.patch";
hash = "sha256-wqMTGSi4Gn5VADjV4MjZhFNWB3ThUhxvLYK7sentScQ=";
})
(fetchpatch2 {
name = "skip-ref-count-test-with-py3.14";
url = "https://salsa.debian.org/python-team/packages/beancount/-/raw/debian/sid/debian/patches/0004-Skip-refcount-test-with-py3.14.patch";
hash = "sha256-6P9xe15WBGaWpVYB2HfGfFHLMMmGkfnDwdjdktlSNxk=";
})
];
postPatch = ''
# We don't need the python binary wrappers, since we provide them via nativeBuildInputs
substituteInPlace pyproject.toml \
--replace-fail "'flex-bin ; sys_platform == \"linux\" or sys_platform == \"darwin\"'," "" \
--replace-fail "'bison-bin ; sys_platform == \"linux\" or sys_platform == \"darwin\"'," ""
'';
build-system = [
meson