2020-08-25 23:11:58 -07:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, isPy27, sphinx }:
|
2017-02-27 14:09:24 -08:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 02:25:35 -07:00
|
|
|
pname = "hieroglyph";
|
2020-08-16 10:31:02 -07:00
|
|
|
version = "2.1.0";
|
2020-08-25 23:11:58 -07:00
|
|
|
disabled = isPy27; # python2 compatible sphinx is too low
|
2017-02-27 14:09:24 -08:00
|
|
|
|
2018-06-23 06:27:58 -07:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 10:31:02 -07:00
|
|
|
sha256 = "b4b5db13a9d387438e610c2ca1d81386ccd206944d9a9dd273f21874486cddaf";
|
2017-02-27 14:09:24 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ sphinx ];
|
|
|
|
|
|
|
|
# all tests fail; don't know why:
|
|
|
|
# test_absolute_paths_made_relative (hieroglyph.tests.test_path_fixing.PostProcessImageTests) ... ERROR
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Generate HTML presentations from plain text sources";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/nyergler/hieroglyph/";
|
2017-02-27 14:09:24 -08:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ juliendehos ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|