Merge pull request #129639 from lourkeur/chia

authored by Sandro and committed by GitHub 2ed84aa0 7c977090

+9 -9
+4 -4
pkgs/applications/blockchains/chia/default.nix
··· 6 7 python3Packages.buildPythonApplication rec { 8 pname = "chia"; 9 - version = "1.1.7"; 10 11 src = fetchFromGitHub { 12 owner = "Chia-Network"; 13 repo = "chia-blockchain"; 14 rev = version; 15 - sha256 = "05hcckkv3vhz172w9kp5lh4srakizx1l383dijs50vgx2bj30m8v"; 16 }; 17 18 patches = [ ··· 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 ''; 76 77 preCheck = ''
··· 6 7 python3Packages.buildPythonApplication rec { 8 pname = "chia"; 9 + version = "1.2.0"; 10 11 src = fetchFromGitHub { 12 owner = "Chia-Network"; 13 repo = "chia-blockchain"; 14 rev = version; 15 + sha256 = "sha256-P5oWOQgyj+/Ia21R4PB6ID/iUPKBnW9/X5EF6RZjzS8="; 16 }; 17 18 patches = [ ··· 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.8" "clvm_rs>=0.1.8" \ 74 + --replace "clvm==0.9.7" "clvm>=0.9.7" \ 75 ''; 76 77 preCheck = ''
+2 -2
pkgs/development/python-modules/chiapos/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "chiapos"; 16 - version = "1.0.2"; 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 - sha256 = "09mwj9m9rcvcb3zn6v2xykgd4a9lpwl6c86nwl8d1iqr82gb5hb5"; 22 }; 23 24 patches = [
··· 13 14 buildPythonPackage rec { 15 pname = "chiapos"; 16 + version = "1.0.3"; 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 + sha256 = "sha256-2Ye0gaOsv/Hg1363E6+NmezsK9EcLEZVKKUHikM2hr0="; 22 }; 23 24 patches = [
+1 -1
pkgs/development/python-modules/chiapos/dont_fetch_dependencies.patch
··· 23 FetchContent_Declare( 24 gulrak 25 - GIT_REPOSITORY https://github.com/gulrak/filesystem.git 26 - - GIT_TAG v1.5.4 27 + SOURCE_DIR @ghc_filesystem@ 28 ) 29 FetchContent_MakeAvailable(gulrak)
··· 23 FetchContent_Declare( 24 gulrak 25 - GIT_REPOSITORY https://github.com/gulrak/filesystem.git 26 + - GIT_TAG v1.5.6 27 + SOURCE_DIR @ghc_filesystem@ 28 ) 29 FetchContent_MakeAvailable(gulrak)
+2 -2
pkgs/development/python-modules/chiavdf/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "chiavdf"; 17 - version = "1.0.1"; 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - hash = "sha256-z0od/VrH580+9641lKNI7jbVMlJZKCWnoT+GljnFxmU="; 23 }; 24 25 patches = [
··· 14 15 buildPythonPackage rec { 16 pname = "chiavdf"; 17 + version = "1.0.2"; 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + hash = "sha256-YSG4Aj9gd72NOgDSYU0kPn/nZz9Pza9FE9WoG/H4PWw="; 23 }; 24 25 patches = [