python3Packages.wiktextract: init at 1.99.7-unstable-2026-03-26

This commit is contained in:
Théo Bori
2026-03-28 16:07:16 +01:00
committed by Théo Bori
parent f750dd7e14
commit 158756b220
2 changed files with 53 additions and 0 deletions
@@ -0,0 +1,51 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
levenshtein,
nltk,
pydantic,
wikitextprocessor,
unstableGitUpdater,
}:
buildPythonPackage {
pname = "wiktextract";
version = "1.99.7-unstable-2026-03-26";
pyproject = true;
src = fetchFromGitHub {
owner = "tatuylonen";
repo = "wiktextract";
rev = "f47b8fc87a0e17f4dcca68f534e73f4c6fa8e8e7";
hash = "sha256-U9Xm3vRAvONN/DwyhEEM54eiBnv7JKAEXPolK9HfJU8=";
};
build-system = [ setuptools ];
dependencies = [
levenshtein
nltk
pydantic
wikitextprocessor
];
# It requires Internet
doCheck = false;
pythonImportsCheck = [ "wiktextract" ];
passthru.updateScript = unstableGitUpdater { };
meta = {
description = "Wiktionary dump file parser and multilingual data extractor";
homepage = "https://github.com/tatuylonen/wiktextract";
license = with lib.licenses; [
mit
cc-by-sa-40 # Needed for certain test files under Wiktionary licence
];
maintainers = with lib.maintainers; [ theobori ];
mainProgram = "wiktwords";
};
}
+2
View File
@@ -21067,6 +21067,8 @@ self: super: with self; {
wikitextprocessor = callPackage ../development/python-modules/wikitextprocessor { };
wiktextract = callPackage ../development/python-modules/wiktextract { };
willow = callPackage ../development/python-modules/willow { };
winacl = callPackage ../development/python-modules/winacl { };