2017-02-27 23:09:24 +01:00
|
|
|
{ stdenv , fetchurl , buildPythonPackage , sphinx }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 11:25:35 +02:00
|
|
|
pname = "hieroglyph";
|
2017-02-27 23:09:24 +01:00
|
|
|
version = "0.7.1";
|
2017-05-27 11:25:35 +02:00
|
|
|
name = "${pname}-${version}";
|
2017-02-27 23:09:24 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/h/hieroglyph/${name}.tar.gz";
|
|
|
|
sha256 = "0rswfk7x6zlj1z8388f153k3zn2h52k5h9b6p57pn7kqagsjilcb";
|
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
|
|
|
homepage = https://github.com/nyergler/hieroglyph/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ juliendehos ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|