about summary refs log tree commit diff
path: root/pkgs/applications/graphics/rapid-photo-downloader
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/rapid-photo-downloader')
-rw-r--r--pkgs/applications/graphics/rapid-photo-downloader/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/rapid-photo-downloader/default.nix b/pkgs/applications/graphics/rapid-photo-downloader/default.nix
index 706992e2961d6..b283a6d4083fc 100644
--- a/pkgs/applications/graphics/rapid-photo-downloader/default.nix
+++ b/pkgs/applications/graphics/rapid-photo-downloader/default.nix
@@ -15,8 +15,10 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
     hash = "sha256-4VC1fwQh9L3c5tgLUaC36p9QHL4dR2vkWc2XlNl0Xzw=";
   };
 
-  # Disable version check
   postPatch = ''
+    # Drop broken version specifier
+    sed -i '/python_requires/d' setup.py
+    # Disable version check
     substituteInPlace raphodo/constants.py \
       --replace "disable_version_check = False" "disable_version_check = True"
   '';