chia: unbreak (#128498)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by

Louis Bettens
Sandro
and committed by
GitHub
7e44fcfb 3b901be6

+10 -15
+10 -2
pkgs/applications/blockchains/chia/default.nix
··· 16 16 }; 17 17 18 18 patches = [ 19 - # tweak version requirements to what's available in Nixpkgs 20 - ./dependencies.patch 21 19 # Allow later websockets release, https://github.com/Chia-Network/chia-blockchain/pull/6304 22 20 (fetchpatch { 23 21 name = "later-websockets.patch"; ··· 65 63 "test_spend_through_n" 66 64 "test_spend_zero_coin" 67 65 ]; 66 + 67 + postPatch = '' 68 + # tweak version requirements to what's available in Nixpkgs 69 + substituteInPlace setup.py \ 70 + --replace "aiohttp==3.7.4" "aiohttp>=3.7.4" \ 71 + --replace "sortedcontainers==2.3.0" "sortedcontainers>=2.3.0" \ 72 + --replace "click==7.1.2" "click>=7.1.2" \ 73 + --replace "clvm_rs==0.1.7" "clvm_rs>=0.1.7" \ 74 + --replace "clvm==0.9.6" "clvm>=0.9.6" \ 75 + ''; 68 76 69 77 preCheck = '' 70 78 export HOME=`mktemp -d`
-13
pkgs/applications/blockchains/chia/dependencies.patch
··· 1 - diff --git a/setup.py b/setup.py 2 - index c5cf95db..b783a9e6 100644 3 - --- a/setup.py 4 - +++ b/setup.py 5 - @@ -8,7 +8,7 @@ dependencies = [ 6 - "clvm==0.9.6", 7 - "clvm_rs==0.1.7", 8 - "clvm_tools==0.4.3", 9 - - "aiohttp==3.7.4", # HTTP server for full node rpc 10 - + "aiohttp==3.7.4.post0", # HTTP server for full node rpc 11 - "aiosqlite==0.17.0", # asyncio wrapper for sqlite, to store blocks 12 - "bitstring==3.1.7", # Binary data management library 13 - "colorlog==5.0.1", # Adds color to logs