blob: af8c05f9a9ebdf23023206a80995c0704a4cef23 (
plain) (
blame)
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
|
{
buildPythonPackage,
fetchFromGitHub,
lib,
pandocfilters,
psutil,
setuptools,
}:
buildPythonPackage rec {
pname = "pandoc-xnos";
version = "2.5.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "tomduck";
repo = pname;
rev = version;
hash = "sha256-beiGvN0DS6s8wFjcDKozDuwAM2OApX3lTRaUDRUqLeU=";
};
nativeBuildInputs = [ setuptools ];
pythonRelaxDeps = [ "psutil" ];
propagatedBuildInputs = [
pandocfilters
psutil
];
pythonImportsCheck = [ "pandocxnos" ];
# tests need some patching
doCheck = false;
meta = with lib; {
description = "Pandoc filter suite providing facilities for cross-referencing in markdown documents";
mainProgram = "pandoc-xnos";
homepage = "https://github.com/tomduck/pandoc-xnos";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ppenguin ];
};
}
|