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-10-25 20:04:35 +02:00
|
|
|
version = "1.0.0";
|
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";
|
2017-10-25 20:04:35 +02:00
|
|
|
sha256 = "8e137f0b1cd60c47b870011089790d3c8ddb74fcf409a75ddf2c7f2516ff337c";
|
2017-02-27 23:09:24 +01: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";
|
|
|
|
homepage = https://github.com/nyergler/hieroglyph/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ juliendehos ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|