Merge pull request #221712 from wegank/rapid-photo-downloader-fix

rapid-photo-downloader: fix build
This commit is contained in:
Martin Weinelt 2023-03-17 20:30:06 +00:00 committed by GitHub
commit 4f898bbef8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
'';