Merge pull request #253303 from Steinhagen/wikitextparser

python3Packages.wikitextparser: init at 0.54.0

authored by

OTABI Tomoya and committed by
GitHub
f4a33546 aa17cca9

+41
+39
pkgs/development/python-modules/wikitextparser/default.nix
··· 1 + { buildPythonPackage 2 + , fetchFromGitHub 3 + , lib 4 + , pytestCheckHook 5 + , regex 6 + , wcwidth 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "wikitextparser"; 11 + version = "0.54.0"; 12 + format = "pyproject"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "5j9"; 16 + repo = "wikitextparser"; 17 + rev = "v${version}"; 18 + hash = "sha256-AGQfjUNxeleuTS200QMdZS8CSD2t4ah5NMm9TIYjVHk="; 19 + }; 20 + 21 + propagatedBuildInputs = [ 22 + wcwidth 23 + regex 24 + ]; 25 + 26 + nativeCheckInputs = [ 27 + pytestCheckHook 28 + ]; 29 + 30 + pythonImportsCheck = [ "wikitextparser" ]; 31 + 32 + meta = { 33 + homepage = "https://github.com/5j9/wikitextparser"; 34 + description = "A simple parsing tool for MediaWiki's wikitext markup"; 35 + changelog = "https://github.com/5j9/wikitextparser/blob/v${version}/CHANGELOG.rst"; 36 + license = lib.licenses.gpl3Only; 37 + maintainers = with lib.maintainers; [ rapiteanu ]; 38 + }; 39 + }
+2
pkgs/top-level/python-packages.nix
··· 13866 13866 13867 13867 wikipedia = callPackage ../development/python-modules/wikipedia { }; 13868 13868 13869 + wikitextparser = callPackage ../development/python-modules/wikitextparser { }; 13870 + 13869 13871 willow = callPackage ../development/python-modules/willow { }; 13870 13872 13871 13873 winacl = callPackage ../development/python-modules/winacl { };