diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-03-17 21:07:29 +0200 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-03-17 21:07:29 +0200 |
commit | ac16f025eec69f1ab0d79bba677eea47e89f3a9a (patch) | |
tree | b0e1fb676ea14364c62da4396c3e389f0ad0eb8a | |
parent | 518d5f094122e73f001204c57b37c9e4d27fd34f (diff) | |
download | nixpkgs-ac16f025eec69f1ab0d79bba677eea47e89f3a9a.tar nixpkgs-ac16f025eec69f1ab0d79bba677eea47e89f3a9a.tar.gz nixpkgs-ac16f025eec69f1ab0d79bba677eea47e89f3a9a.tar.bz2 nixpkgs-ac16f025eec69f1ab0d79bba677eea47e89f3a9a.tar.lz nixpkgs-ac16f025eec69f1ab0d79bba677eea47e89f3a9a.tar.xz nixpkgs-ac16f025eec69f1ab0d79bba677eea47e89f3a9a.tar.zst nixpkgs-ac16f025eec69f1ab0d79bba677eea47e89f3a9a.zip |
rapid-photo-downloader: fix build
-rw-r--r-- | pkgs/applications/graphics/rapid-photo-downloader/default.nix | 4 |
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 706992e2961..b283a6d4083 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" ''; |