1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 isPy27,
6 sphinx,
7}:
8
9buildPythonPackage rec {
10 pname = "hieroglyph";
11 version = "2.1.0";
12 format = "setuptools";
13 disabled = isPy27; # python2 compatible sphinx is too low
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "b4b5db13a9d387438e610c2ca1d81386ccd206944d9a9dd273f21874486cddaf";
18 };
19
20 propagatedBuildInputs = [ sphinx ];
21
22 # all tests fail; don't know why:
23 # test_absolute_paths_made_relative (hieroglyph.tests.test_path_fixing.PostProcessImageTests) ... ERROR
24 doCheck = false;
25
26 meta = with lib; {
27 description = "Generate HTML presentations from plain text sources";
28 homepage = "https://github.com/nyergler/hieroglyph/";
29 license = licenses.bsd3;
30 maintainers = with maintainers; [ juliendehos ];
31 };
32}