Merge pull request #172082 from NixOS/revert-171891-m2r

Revert "python310Packages.m2r: adopt, run tests"

authored by Sandro and committed by GitHub ed8bd254 2ccd6215

+7 -16
+7 -16
pkgs/development/python-modules/m2r/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , docutils 5 - , mistune 6 - , pygments 7 - }: 8 - 1 + { lib, buildPythonPackage, fetchPypi, 2 + mistune, docutils } : 9 3 buildPythonPackage rec { 10 4 pname = "m2r"; 11 5 version = "0.2.1"; ··· 15 9 sha256 = "bf90bad66cda1164b17e5ba4a037806d2443f2a4d5ddc9f6a5554a0322aaed99"; 16 10 }; 17 11 18 - postPatch = '' 19 - substituteInPlace tests/test_cli.py \ 20 - --replace "optional" "positional" 21 - ''; 22 - 23 12 propagatedBuildInputs = [ mistune docutils ]; 24 13 25 - checkInputs = [ pygments ]; 14 + # Some tests interfeere with each other (test.md and test.rst are 15 + # deleted by some tests and not properly regenerated) 16 + doCheck = false; 26 17 27 18 meta = with lib; { 28 19 homepage = "https://github.com/miyakogi/m2r"; 29 - description = "Markdown to reStructuredText converter"; 20 + description = "converts a markdown file including reST markups to a valid reST format"; 30 21 license = licenses.mit; 31 - maintainers = with maintainers; [ SuperSandro2000 ]; 22 + maintainers = [ ]; 32 23 }; 33 24 }