From cf1501fda9d9796720c8e1c5d04bccd9fee38d76 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 22 May 2025 02:00:12 +0200 Subject: [PATCH] Revert "python313Packages.bibtexparser: 1.4.3 -> 2.0.0b8" This reverts commit 2c49c7cf7b9c934469fbd9c8420a1468e7e56b75. Breaks scholarly and thereby calibreweb. --- .../python-modules/bibtexparser/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/bibtexparser/default.nix b/pkgs/development/python-modules/bibtexparser/default.nix index 8da15005d8d4..43541b800862 100644 --- a/pkgs/development/python-modules/bibtexparser/default.nix +++ b/pkgs/development/python-modules/bibtexparser/default.nix @@ -2,26 +2,26 @@ lib, buildPythonPackage, fetchFromGitHub, - setuptools, - pylatexenc, + pyparsing, pytestCheckHook, + pythonOlder, }: buildPythonPackage rec { pname = "bibtexparser"; - version = "2.0.0b8"; - pyproject = true; + version = "1.4.3"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "sciunto-org"; repo = "python-${pname}"; tag = "v${version}"; - hash = "sha256-531Mh/5DUYayXm1H0v4dPX0P9mRcqcQcU/A+f4wwqxg="; + hash = "sha256-9m+7RbeJMJssviyIezPrSLMMGcQTHYaOFQwLhnu04Es="; }; - build-system = [ setuptools ]; - - dependencies = [ pylatexenc ]; + propagatedBuildInputs = [ pyparsing ]; nativeCheckInputs = [ pytestCheckHook ];