02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
27 lines
790 B
Nix
27 lines
790 B
Nix
{ 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 ];
|
|
};
|
|
}
|
|
|