python3.pkgs.nltk: fixup build

This commit is contained in:
Frederik Rietdijk
2020-06-11 10:00:25 +02:00
parent 9dfb5e4155
commit 163cd1ae01
@@ -1,4 +1,9 @@
{ fetchPypi, buildPythonPackage, lib, six, singledispatch, isPy3k }: { fetchPypi, buildPythonPackage, lib, six, singledispatch, isPy3k
, click
, joblib
, regex
, tqdm
}:
buildPythonPackage rec { buildPythonPackage rec {
version = "3.5"; version = "3.5";
@@ -10,7 +15,12 @@ buildPythonPackage rec {
sha256 = "845365449cd8c5f9731f7cb9f8bd6fd0767553b9d53af9eb1b3abf7700936b35"; sha256 = "845365449cd8c5f9731f7cb9f8bd6fd0767553b9d53af9eb1b3abf7700936b35";
}; };
propagatedBuildInputs = [ six ] ++ lib.optional (!isPy3k) singledispatch; propagatedBuildInputs = [
click
joblib
regex
tqdm
] ++ lib.optional (!isPy3k) singledispatch;
# Tests require some data, the downloading of which is impure. It would # Tests require some data, the downloading of which is impure. It would
# probably make sense to make the data another derivation, but then feeding # probably make sense to make the data another derivation, but then feeding