1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pytest-runner 6}: 7 8buildPythonPackage rec { 9 pname = "mwparserfromhell"; 10 version = "0.6.3"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "1ad779f1bc0808d280ec1026c9de74f424de535568e21debd12830b5b0fa097e"; 15 }; 16 17 checkInputs = [ 18 pytestCheckHook 19 pytest-runner 20 ]; 21 22 meta = with lib; { 23 description = "MWParserFromHell is a parser for MediaWiki wikicode"; 24 homepage = "https://mwparserfromhell.readthedocs.io/en/latest/"; 25 license = licenses.mit; 26 maintainers = with maintainers; [ melling ]; 27 }; 28}