nixpkgs/pkgs/development/python-modules/wikitextparser/default.nix
Viorel-Cătălin Răpițeanu 4f64c5c8ef python3Packages.wikitextparser: 0.54.0 -> 0.55.5
Bring the package to the latest released version.
2023-11-08 12:36:48 +02:00

39 lines
837 B
Nix

{ buildPythonPackage
, fetchFromGitHub
, lib
, pytestCheckHook
, regex
, wcwidth
}:
buildPythonPackage rec {
pname = "wikitextparser";
version = "0.55.5";
format = "pyproject";
src = fetchFromGitHub {
owner = "5j9";
repo = "wikitextparser";
rev = "v${version}";
hash = "sha256-cmzyRbq4tCbuyrNnT0UYxoxuwXrFkIcWdrogSTfxSys=";
};
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 ];
};
}