mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-09 05:57:04 +01:00
This is almost all find-and-replace. I manually edited: * pkgs/development/python-modules/notifications-android-tv/default.nix, * pkgs/servers/home-assistant/default.nix, * pkgs/development/tools/continuous-integration/buildbot/master.nix A few files have not been changed in this PR because they would cause rebuilds. This PR should have 0 rebuilds.
43 lines
913 B
Nix
43 lines
913 B
Nix
{
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
lib,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
regex,
|
|
wcwidth,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "wikitextparser";
|
|
version = "0.56.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "5j9";
|
|
repo = "wikitextparser";
|
|
rev = "v${version}";
|
|
hash = "sha256-xg2cWhfJXS7zUuzXPslFTZz6mY/Pvl2F2b7HNWV2c3I=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
flit-core
|
|
wcwidth
|
|
regex
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "wikitextparser" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/5j9/wikitextparser";
|
|
description = "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 ];
|
|
};
|
|
}
|