9 buildPythonPackage rec {
10 pname = "mwparserfromhell";
12 format = "setuptools";
14 disabled = pythonOlder "3.8";
17 inherit pname version;
18 hash = "sha256-ca/sHpeEulduldbzSEVYLTxzOjpSuncN2KnDpA5bZJ8=";
22 substituteInPlace setup.py \
23 --replace '"pytest-runner"' ""
26 nativeCheckInputs = [ pytestCheckHook ];
28 pythonImportsCheck = [ "mwparserfromhell" ];
31 description = "MWParserFromHell is a parser for MediaWiki wikicode";
32 homepage = "https://mwparserfromhell.readthedocs.io/";
33 changelog = "https://github.com/earwig/mwparserfromhell/releases/tag/v${version}";
34 license = licenses.mit;
35 maintainers = with maintainers; [ melling ];