From 7f0a132c24ea047feb13e18792fcfc37b9524e83 Mon Sep 17 00:00:00 2001 From: SharzyL Date: Tue, 16 Jul 2024 11:07:28 +0800 Subject: [PATCH] Revert "python3Packages.beancount: 2.3.6 -> 3.0.0" This reverts commit 72e7936217a5277a0bcdc0cb48abbbc0177a0f77, which upgrades beancount to 3.0.0. Beancount v3 is an unstable version with major changes compared to the stable v2 version. Tools including fava have not supported it yet, and current v3 build in nixpkgs is broken (failed to run). --- 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 b0e9c97c5d1a..ebe39136080e 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.