nixpkgs/pkgs/development/python-modules/hieroglyph/default.nix

27 lines
773 B
Nix
Raw Normal View History

{ lib, stdenv, fetchPypi, buildPythonPackage, isPy27, sphinx }:
2017-02-28 01:09:24 +03:00
buildPythonPackage rec {
pname = "hieroglyph";
2020-08-16 20:31:02 +03:00
version = "2.1.0";
disabled = isPy27; # python2 compatible sphinx is too low
2017-02-28 01:09:24 +03:00
src = fetchPypi {
inherit pname version;
2020-08-16 20:31:02 +03:00
sha256 = "b4b5db13a9d387438e610c2ca1d81386ccd206944d9a9dd273f21874486cddaf";
2017-02-28 01:09:24 +03: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 lib; {
2017-02-28 01:09:24 +03:00
description = "Generate HTML presentations from plain text sources";
homepage = "https://github.com/nyergler/hieroglyph/";
2017-02-28 01:09:24 +03:00
license = licenses.bsd3;
maintainers = with maintainers; [ juliendehos ];
};
}