2020-08-26 07:11:58 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, isPy27, sphinx }:
|
2017-02-27 22:09:24 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "hieroglyph";
|
2020-08-16 18:31:02 +01:00
|
|
|
version = "2.1.0";
|
2020-08-26 07:11:58 +01:00
|
|
|
disabled = isPy27; # python2 compatible sphinx is too low
|
2017-02-27 22:09:24 +00:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 18:31:02 +01:00
|
|
|
sha256 = "b4b5db13a9d387438e610c2ca1d81386ccd206944d9a9dd273f21874486cddaf";
|
2017-02-27 22:09:24 +00: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-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/nyergler/hieroglyph/";
|
2017-02-27 22:09:24 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ juliendehos ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|