Loading pkgs/development/python-modules/restview/default.nix +8 −14 Original line number Diff line number Diff line Loading @@ -7,38 +7,32 @@ , packaging , pygments , mock , pytestCheckHook }: buildPythonPackage rec { pname = "restview"; version = "2.9.1"; version = "2.9.2"; src = fetchPypi { inherit pname version; sha256 = "de87c84f19526bd4a76505f6d40b51b7bb03ca43b6067c93f82f1c7237ac9e84"; sha256 = "1p1jgdvc04ws8kga3r0vrq3m0b52qw3clwyydl96a13wb3mrf03r"; }; propagatedBuildInputs = [ docutils readme_renderer packaging pygments ]; checkInputs = [ mock ]; patches = [ # fix tests after readme_renderer update # TODO remove on next update (fetchpatch { url = "https://github.com/mgedmin/restview/commit/541743ded13ae55dea4c437046984a5f13d06e8b.patch"; sha256 = "031b1dlqx346bz7afpc011lslnq771lnxb6iy1l2285pph534bci"; url = "https://github.com/mgedmin/restview/commit/a1ded30a87c65f3ce59a18497a7fc5099317c2be.patch"; sha256 = "1ax7pih456a3nbj8qrrq7hqigbyag4ihzpn6bm0z4y74d0r3v8a5"; }) ]; postPatch = '' # dict order breaking tests sed -i 's@<a href="http://www.example.com" rel="nofollow">@...@' src/restview/tests.py ''; propagatedBuildInputs = [ docutils readme_renderer packaging pygments ]; checkInputs = [ mock pytestCheckHook ]; meta = { description = "ReStructuredText viewer"; homepage = "https://mg.pov.lt/restview/"; license = lib.licenses.gpl2; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ koral ]; }; } Loading
pkgs/development/python-modules/restview/default.nix +8 −14 Original line number Diff line number Diff line Loading @@ -7,38 +7,32 @@ , packaging , pygments , mock , pytestCheckHook }: buildPythonPackage rec { pname = "restview"; version = "2.9.1"; version = "2.9.2"; src = fetchPypi { inherit pname version; sha256 = "de87c84f19526bd4a76505f6d40b51b7bb03ca43b6067c93f82f1c7237ac9e84"; sha256 = "1p1jgdvc04ws8kga3r0vrq3m0b52qw3clwyydl96a13wb3mrf03r"; }; propagatedBuildInputs = [ docutils readme_renderer packaging pygments ]; checkInputs = [ mock ]; patches = [ # fix tests after readme_renderer update # TODO remove on next update (fetchpatch { url = "https://github.com/mgedmin/restview/commit/541743ded13ae55dea4c437046984a5f13d06e8b.patch"; sha256 = "031b1dlqx346bz7afpc011lslnq771lnxb6iy1l2285pph534bci"; url = "https://github.com/mgedmin/restview/commit/a1ded30a87c65f3ce59a18497a7fc5099317c2be.patch"; sha256 = "1ax7pih456a3nbj8qrrq7hqigbyag4ihzpn6bm0z4y74d0r3v8a5"; }) ]; postPatch = '' # dict order breaking tests sed -i 's@<a href="http://www.example.com" rel="nofollow">@...@' src/restview/tests.py ''; propagatedBuildInputs = [ docutils readme_renderer packaging pygments ]; checkInputs = [ mock pytestCheckHook ]; meta = { description = "ReStructuredText viewer"; homepage = "https://mg.pov.lt/restview/"; license = lib.licenses.gpl2; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ koral ]; }; }