summary refs log tree commit diff
path: root/pkgs/development/python-modules/mwparserfromhell/default.nix
blob: 8c29971afe79d984a0466cdf0e98e733be83dc3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pytestrunner
}:

buildPythonPackage rec {
  pname = "mwparserfromhell";
  version = "0.6.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "d3f74c0101f81ff73c61985b67f2e7048a30dc5f6a578ea1544e69133988d874";
  };

  checkInputs = [
    pytestCheckHook
    pytestrunner
  ];

  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 ];
  };
}