blob: 1f29b5102146f5656b66a94515f821c3ff5046e9 (
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
36
37
38
39
40
41
42
43
|
{
lib,
buildPythonPackage,
fetchPypi,
git,
lxml,
rnc2rng,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "citeproc-py";
version = "0.9.0";
pyproject = true;
src = fetchPypi {
pname = "citeproc_py";
inherit version;
hash = "sha256-WHgdilY+h8p8zrQ9CL6soQ3N+fPPd93zsXiUBx7cJ8g=";
};
build-system = [ setuptools ];
buildInputs = [ rnc2rng ];
dependencies = [ lxml ];
nativeCheckInputs = [
git
pytestCheckHook
];
pythonImportsCheck = [ "citeproc" ];
meta = {
homepage = "https://github.com/citeproc-py/citeproc-py";
description = "Citation Style Language (CSL) parser for Python";
mainProgram = "csl_unsorted";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
|