From d9361ea36c54030f916a972a2634aa3939187091 Mon Sep 17 00:00:00 2001 From: Sandro Date: Sun, 8 May 2022 21:59:28 +0200 Subject: [PATCH] Revert "python310Packages.m2r: adopt, run tests" --- .../python-modules/m2r/default.nix | 23 ++++++------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/m2r/default.nix b/pkgs/development/python-modules/m2r/default.nix index fd148382617..35331c14b08 100644 --- a/pkgs/development/python-modules/m2r/default.nix +++ b/pkgs/development/python-modules/m2r/default.nix @@ -1,11 +1,5 @@ -{ lib -, buildPythonPackage -, fetchPypi -, docutils -, mistune -, pygments -}: - +{ lib, buildPythonPackage, fetchPypi, + mistune, docutils } : buildPythonPackage rec { pname = "m2r"; version = "0.2.1"; @@ -15,19 +9,16 @@ buildPythonPackage rec { sha256 = "bf90bad66cda1164b17e5ba4a037806d2443f2a4d5ddc9f6a5554a0322aaed99"; }; - postPatch = '' - substituteInPlace tests/test_cli.py \ - --replace "optional" "positional" - ''; - propagatedBuildInputs = [ mistune docutils ]; - checkInputs = [ pygments ]; + # Some tests interfeere with each other (test.md and test.rst are + # deleted by some tests and not properly regenerated) + doCheck = false; meta = with lib; { homepage = "https://github.com/miyakogi/m2r"; - description = "Markdown to reStructuredText converter"; + description = "converts a markdown file including reST markups to a valid reST format"; license = licenses.mit; - maintainers = with maintainers; [ SuperSandro2000 ]; + maintainers = [ ]; }; }