python3Packages.bibtexparser_2: init at 2.0.0b8

This commit is contained in:
Amadej Kastelic
2025-06-28 11:49:57 +02:00
parent ad9f5fcf6b
commit 074b333898
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pylatexenc,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "bibtexparser";
version = "2.0.0b8";
pyproject = true;
src = fetchFromGitHub {
owner = "sciunto-org";
repo = "python-bibtexparser";
tag = "v${version}";
hash = "sha256-531Mh/5DUYayXm1H0v4dPX0P9mRcqcQcU/A+f4wwqxg=";
};
build-system = [ setuptools ];
dependencies = [ pylatexenc ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bibtexparser" ];
meta = {
description = "Bibtex parser for Python";
homepage = "https://github.com/sciunto-org/python-bibtexparser";
changelog = "https://github.com/sciunto-org/python-bibtexparser/blob/${src.tag}/CHANGELOG";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.amadejkastelic ];
};
}

View File

@@ -1817,6 +1817,8 @@ self: super: with self; {
bibtexparser = callPackage ../development/python-modules/bibtexparser { };
bibtexparser_2 = callPackage ../development/python-modules/bibtexparser/2.nix { };
bidict = callPackage ../development/python-modules/bidict { };
bids-validator = callPackage ../development/python-modules/bids-validator { };