mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-26 02:20:36 +00:00
python313Packages.directv: fix build
This commit is contained in:
@@ -21,6 +21,12 @@ buildPythonPackage rec {
|
||||
sha256 = "19jckf6qvl8fwi8yff1qy8c44xdz3zpi1ip1md6zl2c503qc91mk";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# TypeError: 'Timeout' object does not support the context manager protocol
|
||||
substituteInPlace directv/directv.py \
|
||||
--replace-fail "with async_timeout.timeout" "async with async_timeout.timeout"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
yarl
|
||||
|
||||
Reference in New Issue
Block a user