diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-05-27 11:25:35 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-05-27 11:30:21 +0200 |
commit | 959842a9c72ed6cc8566e23c1ce17e9ef0d8ec0c (patch) | |
tree | 60c0df9d9c5e876fe757c28bf11bd18762ce4180 /pkgs/development/python-modules/nltk.nix | |
parent | dce1c26e5d4bd25d21e1abc3397e02d6def044a8 (diff) | |
download | nixlib-959842a9c72ed6cc8566e23c1ce17e9ef0d8ec0c.tar nixlib-959842a9c72ed6cc8566e23c1ce17e9ef0d8ec0c.tar.gz nixlib-959842a9c72ed6cc8566e23c1ce17e9ef0d8ec0c.tar.bz2 nixlib-959842a9c72ed6cc8566e23c1ce17e9ef0d8ec0c.tar.lz nixlib-959842a9c72ed6cc8566e23c1ce17e9ef0d8ec0c.tar.xz nixlib-959842a9c72ed6cc8566e23c1ce17e9ef0d8ec0c.tar.zst nixlib-959842a9c72ed6cc8566e23c1ce17e9ef0d8ec0c.zip |
Python: add pname attributes to libraries
so that we can use the update script.
Diffstat (limited to 'pkgs/development/python-modules/nltk.nix')
-rw-r--r-- | pkgs/development/python-modules/nltk.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/nltk.nix b/pkgs/development/python-modules/nltk.nix index c436e40d2382..92e2f0fc0ca3 100644 --- a/pkgs/development/python-modules/nltk.nix +++ b/pkgs/development/python-modules/nltk.nix @@ -1,8 +1,9 @@ { fetchurl, buildPythonPackage, isPy33, lib, six, pythonAtLeast, pythonOlder }: buildPythonPackage rec { - name = "nltk-${version}"; version = "3.2.2"; + pname = "nltk"; + name = "${pname}-${version}"; src = fetchurl { url = "mirror://pypi/n/nltk/nltk-${version}.tar.gz"; |