Files
nixpkgs/pkgs/development/python-modules/bibtexparser/2.nix
2025-06-29 09:08:46 +02:00

38 lines
851 B
Nix

{
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 ];
};
}