blob: fa41f638d804540ffa0fd155b36d978ce9b49d32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pyparsing,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "bibtexparser";
version = "1.4.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "sciunto-org";
repo = "python-${pname}";
tag = "v${version}";
hash = "sha256-9m+7RbeJMJssviyIezPrSLMMGcQTHYaOFQwLhnu04Es=";
};
propagatedBuildInputs = [ pyparsing ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bibtexparser" ];
meta = {
description = "Bibtex parser for Python";
homepage = "https://github.com/sciunto-org/python-bibtexparser";
license = with lib.licenses; [
lgpl3Only # or
bsd3
];
};
}
|