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 - 9 buildPythonPackage rec { 10 pname = "m2r"; 11 version = "0.2.1"; ··· 15 sha256 = "bf90bad66cda1164b17e5ba4a037806d2443f2a4d5ddc9f6a5554a0322aaed99"; 16 }; 17 18 - postPatch = '' 19 - substituteInPlace tests/test_cli.py \ 20 - --replace "optional" "positional" 21 - ''; 22 - 23 propagatedBuildInputs = [ mistune docutils ]; 24 25 - checkInputs = [ pygments ]; 26 27 meta = with lib; { 28 homepage = "https://github.com/miyakogi/m2r"; 29 - description = "Markdown to reStructuredText converter"; 30 license = licenses.mit; 31 - maintainers = with maintainers; [ SuperSandro2000 ]; 32 }; 33 }
··· 1 + { lib, buildPythonPackage, fetchPypi, 2 + mistune, docutils } : 3 buildPythonPackage rec { 4 pname = "m2r"; 5 version = "0.2.1"; ··· 9 sha256 = "bf90bad66cda1164b17e5ba4a037806d2443f2a4d5ddc9f6a5554a0322aaed99"; 10 }; 11 12 propagatedBuildInputs = [ mistune docutils ]; 13 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; 17 18 meta = with lib; { 19 homepage = "https://github.com/miyakogi/m2r"; 20 + description = "converts a markdown file including reST markups to a valid reST format"; 21 license = licenses.mit; 22 + maintainers = [ ]; 23 }; 24 }