3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/nltk/default.nix
R. RyanTM 3d121eb327 python37Packages.nltk: 3.4.3 -> 3.4.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-nltk/versions
2019-08-05 10:22:56 -07:00

30 lines
968 B
Nix

{ fetchPypi, buildPythonPackage, lib, six, singledispatch, isPy3k }:
buildPythonPackage rec {
version = "3.4.4";
pname = "nltk";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1dbwwhsbsp31bvvksq7kyrfs6s27lp8wgwqs4qf6hajkz2jj0k3n";
};
propagatedBuildInputs = [ six ] ++ lib.optional (!isPy3k) singledispatch;
# Tests require some data, the downloading of which is impure. It would
# probably make sense to make the data another derivation, but then feeding
# that into the tests (given that we need nltk itself to download the data,
# unless there's an easy way to download it without nltk's downloader) might
# be complicated. For now let's just disable the tests and hope for the
# best.
doCheck = false;
meta = {
description = "Natural Language Processing ToolKit";
homepage = http://nltk.org/;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ lheckemann ];
};
}