summary refs log tree commit diff
path: root/pkgs/development/python-modules/kaggle
diff options
context:
space:
mode:
authorfreezeboy <freezeboy@users.noreply.github.com>2020-11-18 16:42:16 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-11-18 20:48:06 -0800
commitb5a2e19005ac8202f031378ccb015100e632e436 (patch)
tree75d5cc5b472f9424032c759ee15ba8325cf320ab /pkgs/development/python-modules/kaggle
parent78942ee55f933ce76a3c65bbe83a8a5733d0fb78 (diff)
downloadnixpkgs-b5a2e19005ac8202f031378ccb015100e632e436.tar
nixpkgs-b5a2e19005ac8202f031378ccb015100e632e436.tar.gz
nixpkgs-b5a2e19005ac8202f031378ccb015100e632e436.tar.bz2
nixpkgs-b5a2e19005ac8202f031378ccb015100e632e436.tar.lz
nixpkgs-b5a2e19005ac8202f031378ccb015100e632e436.tar.xz
nixpkgs-b5a2e19005ac8202f031378ccb015100e632e436.tar.zst
nixpkgs-b5a2e19005ac8202f031378ccb015100e632e436.zip
python3Packages.kaggle: unbreak, removing useless slugify dep
Diffstat (limited to 'pkgs/development/python-modules/kaggle')
-rw-r--r--pkgs/development/python-modules/kaggle/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/kaggle/default.nix b/pkgs/development/python-modules/kaggle/default.nix
index 12b46be69b9..15fecba2589 100644
--- a/pkgs/development/python-modules/kaggle/default.nix
+++ b/pkgs/development/python-modules/kaggle/default.nix
@@ -20,10 +20,12 @@ buildPythonPackage rec {
   };
 
   # The version bounds in the setup.py file are unnecessarily restrictive.
+  # They have both python-slugify and slugify, don't know why
   patchPhase = ''
     substituteInPlace setup.py \
-      --replace 'urllib3 >= 1.21.1, < 1.25' 'urllib3'
-  '';
+      --replace 'urllib3 >= 1.21.1, < 1.25' 'urllib3' \
+      --replace " 'slugify'," " "
+    '';
 
   propagatedBuildInputs = [
     certifi