python3Packages.nltk.data: access nltk-data packages via passthru

This commit is contained in:
Benjamin Sparks
2025-05-24 18:01:00 +02:00
parent c9caba6f7d
commit 9562488efb
@@ -1,5 +1,6 @@
{
lib,
pkgs,
fetchPypi,
buildPythonPackage,
pythonOlder,
@@ -38,6 +39,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "nltk" ];
passthru = {
data = pkgs.nltk-data;
};
meta = with lib; {
description = "Natural Language Processing ToolKit";
mainProgram = "nltk";