beancount: 3.2.0 -> 3.2.3, fava: 1.30.12 -> 1.30.13 (#523226)

This commit is contained in:
Sandro
2026-05-25 22:22:04 +00:00
committed by GitHub
2 changed files with 12 additions and 17 deletions
@@ -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
@@ -25,17 +25,17 @@
let
src = buildNpmPackage (finalAttrs: {
pname = "fava-frontend";
version = "1.30.12";
version = "1.30.13";
src = fetchFromGitHub {
owner = "beancount";
repo = "fava";
tag = "v${finalAttrs.version}";
hash = "sha256-krRkcahikP0ChTCXeS/3MBq4v+VmBLViqaYSSGYt6Mc=";
hash = "sha256-h4mjZIINR6RLYycGl2RFIEGuPPbJYYSg1TBGlZupCMw=";
};
sourceRoot = "${finalAttrs.src.name}/frontend";
npmDepsHash = "sha256-kZAwvyjPZUFJffYsr5917zX+0tMyydcOzfr/TDnoJKw=";
npmDepsHash = "sha256-DQQISV615wZjNbvZwmF/AGJyJJIIs3iBS1tJCNPpT/o=";
makeCacheWritable = true;
preBuild = ''
@@ -108,6 +108,7 @@ buildPythonPackage {
maintainers = with lib.maintainers; [
prince213
sigmanificient
cbrxyz
];
};
}