depot/third_party/nixpkgs/pkgs/development/python-modules/mwparserfromhell/default.nix
Default email 792b51d22f Project import generated by Copybara.
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
2022-02-20 05:27:41 +00:00

28 lines
584 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pytest-runner
}:
buildPythonPackage rec {
pname = "mwparserfromhell";
version = "0.6.4";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-kr7JUorjTScok8yvK1J9+FwxT/KM+7MFY0BGewldg0w=";
};
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 ];
};
}