python3Packages.audible: update httpx constraint, disable check phase

This commit is contained in:
Martin Weinelt 2022-06-04 23:09:24 +02:00 committed by Jonathan Ringer
parent 4104ea1e7a
commit a7ed20d51b
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -14,10 +14,12 @@ buildPythonPackage rec {
propagatedBuildInputs = [ beautifulsoup4 httpx pbkdf2 pillow pyaes rsa ];
postPatch = ''
substituteInPlace setup.py \
--replace 'httpx>=0.20.*,<=0.22.*' 'httpx'
sed -i "s/httpx.*/httpx',/" setup.py
'';
# has no tests
doCheck = false;
pythonImportsCheck = [ "audible"];
meta = with lib; {