nixpkgs/pkgs/development/python-modules/mwparserfromhell/default.nix
2021-07-21 13:32:49 +02:00

29 lines
597 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pytest-runner
}:
buildPythonPackage rec {
pname = "mwparserfromhell";
version = "0.6.2";
src = fetchPypi {
inherit pname version;
sha256 = "d3f74c0101f81ff73c61985b67f2e7048a30dc5f6a578ea1544e69133988d874";
};
checkInputs = [
pytestCheckHook
pytest-runner
];
meta = with lib; {
description = "MWParserFromHell is a parser for MediaWiki wikicode";
homepage = "https://mwparserfromhell.readthedocs.io/en/latest/";
license = licenses.mit;
maintainers = with maintainers; [ melling ];
};
}