diff --git a/nltk.nix b/nltk.nix new file mode 100644 index 0000000..5ab917f --- /dev/null +++ b/nltk.nix @@ -0,0 +1,20 @@ +with import {}; + +buildPythonPackage rec { + name = "nltk-${version}"; + version = "3.2.1"; + + src = fetchurl { + url = "mirror://pypi/n/nltk/${name}.tar.gz"; + sha256 = "0skxbhnymwlspjkzga0f7x1hg3y50fwpfghs8g8k7fh6f4nknlym"; + }; + + propagatedBuildInputs = [ pythonPackages.sqlite3 ]; + + meta = with stdenv.lib; { + homepage = http://www.nltk.org/; + description = "Natural Language Toolkit is a platform for building Python programs to work with human language data"; + platforms = platforms.all; + license = licenses.asl20; + }; +}