From b426c4fa520ad2aa06e1fb4e0c509cc93a39a9ef Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 20 Jun 2021 19:49:01 +0200 Subject: [PATCH] python3Packages.mwparserfromhell: fix tests; add missing check inputs --- .../python-modules/mwparserfromhell/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/mwparserfromhell/default.nix b/pkgs/development/python-modules/mwparserfromhell/default.nix index 9e2089ad3df2..8c29971afe79 100644 --- a/pkgs/development/python-modules/mwparserfromhell/default.nix +++ b/pkgs/development/python-modules/mwparserfromhell/default.nix @@ -1,6 +1,8 @@ { lib , buildPythonPackage , fetchPypi +, pytestCheckHook +, pytestrunner }: buildPythonPackage rec { @@ -12,6 +14,11 @@ buildPythonPackage rec { sha256 = "d3f74c0101f81ff73c61985b67f2e7048a30dc5f6a578ea1544e69133988d874"; }; + checkInputs = [ + pytestCheckHook + pytestrunner + ]; + meta = with lib; { description = "MWParserFromHell is a parser for MediaWiki wikicode"; homepage = "https://mwparserfromhell.readthedocs.io/en/latest/";