nltk: Initial packaging

This commit is contained in:
Tyson Whitehead
2016-10-06 17:21:58 -04:00
parent c3ca12cbc0
commit 49e7640246

20
nltk.nix Normal file
View File

@@ -0,0 +1,20 @@
with import <nixpkgs> {};
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;
};
}