Loading pkgs/development/python-modules/wikitextparser/default.nix 0 → 100644 +39 −0 Original line number Diff line number Diff line { buildPythonPackage , fetchFromGitHub , lib , pytestCheckHook , regex , wcwidth }: buildPythonPackage rec { pname = "wikitextparser"; version = "0.54.0"; format = "pyproject"; src = fetchFromGitHub { owner = "5j9"; repo = "wikitextparser"; rev = "v${version}"; hash = "sha256-AGQfjUNxeleuTS200QMdZS8CSD2t4ah5NMm9TIYjVHk="; }; propagatedBuildInputs = [ wcwidth regex ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "wikitextparser" ]; meta = { homepage = "https://github.com/5j9/wikitextparser"; description = "A simple parsing tool for MediaWiki's wikitext markup"; changelog = "https://github.com/5j9/wikitextparser/blob/v${version}/CHANGELOG.rst"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ rapiteanu ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13866,6 +13866,8 @@ self: super: with self; { wikipedia = callPackage ../development/python-modules/wikipedia { }; wikitextparser = callPackage ../development/python-modules/wikitextparser { }; willow = callPackage ../development/python-modules/willow { }; winacl = callPackage ../development/python-modules/winacl { }; Loading Loading
pkgs/development/python-modules/wikitextparser/default.nix 0 → 100644 +39 −0 Original line number Diff line number Diff line { buildPythonPackage , fetchFromGitHub , lib , pytestCheckHook , regex , wcwidth }: buildPythonPackage rec { pname = "wikitextparser"; version = "0.54.0"; format = "pyproject"; src = fetchFromGitHub { owner = "5j9"; repo = "wikitextparser"; rev = "v${version}"; hash = "sha256-AGQfjUNxeleuTS200QMdZS8CSD2t4ah5NMm9TIYjVHk="; }; propagatedBuildInputs = [ wcwidth regex ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "wikitextparser" ]; meta = { homepage = "https://github.com/5j9/wikitextparser"; description = "A simple parsing tool for MediaWiki's wikitext markup"; changelog = "https://github.com/5j9/wikitextparser/blob/v${version}/CHANGELOG.rst"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ rapiteanu ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13866,6 +13866,8 @@ self: super: with self; { wikipedia = callPackage ../development/python-modules/wikipedia { }; wikitextparser = callPackage ../development/python-modules/wikitextparser { }; willow = callPackage ../development/python-modules/willow { }; winacl = callPackage ../development/python-modules/winacl { }; Loading