1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pylatexenc,
6 pytestCheckHook,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "bibtexparser";
12 version = "2.0.0b8";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "sciunto-org";
17 repo = "python-bibtexparser";
18 tag = "v${version}";
19 hash = "sha256-531Mh/5DUYayXm1H0v4dPX0P9mRcqcQcU/A+f4wwqxg=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [ pylatexenc ];
25
26 nativeCheckInputs = [ pytestCheckHook ];
27
28 pythonImportsCheck = [ "bibtexparser" ];
29
30 meta = {
31 description = "Bibtex parser for Python";
32 homepage = "https://github.com/sciunto-org/python-bibtexparser";
33 changelog = "https://github.com/sciunto-org/python-bibtexparser/blob/${src.tag}/CHANGELOG";
34 license = lib.licenses.mit;
35 maintainers = [ lib.maintainers.amadejkastelic ];
36 };
37}