From 389ad083cdfecc49a313e237681bfa8b9c1ee56d Mon Sep 17 00:00:00 2001 From: SharzyL Date: Mon, 17 Feb 2025 21:01:52 +0800 Subject: [PATCH 1/2] Revert "python3Packages.beancount: 2.3.6 -> 3.0.0" This reverts commit c0c242eb9e39f3303ccfc7f88d538bea35d54dbc. --- pkgs/development/python-modules/beancount/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/beancount/default.nix b/pkgs/development/python-modules/beancount/default.nix index d621cf7ed7f6..e530a39933c1 100644 --- a/pkgs/development/python-modules/beancount/default.nix +++ b/pkgs/development/python-modules/beancount/default.nix @@ -18,7 +18,7 @@ }: buildPythonPackage rec { - version = "3.0.0"; + version = "2.3.6"; format = "setuptools"; pname = "beancount"; @@ -26,7 +26,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-z2aGhpx+o+78CU7hPthmv196K7DGHk1PXfPjX4Rs/98="; + hash = "sha256-gB+Tvta1fS4iQ2aIxInVob8fduIQ887RhoB1fmDTR1o="; }; # Tests require files not included in the PyPI archive. From 454c64c5104b7adb7ab68689778b9e389ac45622 Mon Sep 17 00:00:00 2001 From: SharzyL Date: Mon, 17 Feb 2025 21:43:08 +0800 Subject: [PATCH 2/2] beancount: set passthru.skipBulkUpdate --- pkgs/development/python-modules/beancount/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/beancount/default.nix b/pkgs/development/python-modules/beancount/default.nix index e530a39933c1..0422014ac36f 100644 --- a/pkgs/development/python-modules/beancount/default.nix +++ b/pkgs/development/python-modules/beancount/default.nix @@ -49,6 +49,10 @@ buildPythonPackage rec { pytest ]; + # beancount cannot be directly bumped to 3.x + # e.g. https://github.com/NixOS/nixpkgs/issues/380197 + passthru.skipBulkUpdate = true; + meta = with lib; { homepage = "https://github.com/beancount/beancount"; description = "Double-entry bookkeeping computer language";