about summary refs log tree commit diff
path: root/pkgs/development/python-modules/hieroglyph/default.nix
blob: d2f3168a76a1d5f0c5620c3e1a5dbad989d7c038 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, fetchPypi, buildPythonPackage, isPy27, sphinx }:

buildPythonPackage rec {
  pname = "hieroglyph";
  version = "2.1.0";
  format = "setuptools";
  disabled = isPy27; # python2 compatible sphinx is too low

  src = fetchPypi {
    inherit pname version;
    sha256 = "b4b5db13a9d387438e610c2ca1d81386ccd206944d9a9dd273f21874486cddaf";
  };

  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; {
    description = "Generate HTML presentations from plain text sources";
    homepage = "https://github.com/nyergler/hieroglyph/";
    license = licenses.bsd3;
    maintainers = with maintainers; [ juliendehos ];
  };
}