python3Packages.nltk: add pythonImportsCheck
This commit is contained in:
parent
5a81f63bd2
commit
397138f36c
@ -1,4 +1,7 @@
|
|||||||
{ fetchPypi, buildPythonPackage, lib, isPy3k
|
{ lib
|
||||||
|
, fetchPypi
|
||||||
|
, buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
, click
|
, click
|
||||||
, joblib
|
, joblib
|
||||||
, regex
|
, regex
|
||||||
@ -6,13 +9,16 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "3.7";
|
|
||||||
pname = "nltk";
|
pname = "nltk";
|
||||||
|
version = "3.7";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
extension = "zip";
|
extension = "zip";
|
||||||
sha256 = "sha256-1lB9ZGDOx21wr+pCQqImp1QvhcZpF3ucf1YrfPGwVQI=";
|
hash = "sha256-1lB9ZGDOx21wr+pCQqImp1QvhcZpF3ucf1YrfPGwVQI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -30,10 +36,14 @@ buildPythonPackage rec {
|
|||||||
# best.
|
# best.
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
pythonImportsCheck = [
|
||||||
|
"nltk"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "Natural Language Processing ToolKit";
|
description = "Natural Language Processing ToolKit";
|
||||||
homepage = "http://nltk.org/";
|
homepage = "http://nltk.org/";
|
||||||
license = lib.licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with lib.maintainers; [ lheckemann ];
|
maintainers = with maintainers; [ lheckemann ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user