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