3
0
Fork 0
forked from mirrors/nixpkgs

rapid-photo-downloader: fix build

This commit is contained in:
Weijia Wang 2023-03-17 21:07:29 +02:00
parent 518d5f0941
commit ac16f025ee

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