r0vm: 0.21.0 -> 1.0.1

This commit is contained in:
Marijan Petričević 2024-06-14 15:05:57 +02:00
parent 13b62fbe97
commit f35b299273
No known key found for this signature in database
GPG Key ID: 1F91A4D2C72FDA5F

View File

@ -10,12 +10,12 @@
}:
rustPlatform.buildRustPackage rec {
pname = "r0vm";
version = "0.21.0";
version = "1.0.1";
src = fetchFromGitHub {
owner = "risc0";
repo = "risc0";
rev = "v${version}";
sha256 = "sha256-BIQd6yX453v4w8aU+2awcngOE6t4oIf7BseVLgPG4Bw=";
sha256 = "sha256-0Y7+Z2TEm5ZbEkbO8nSOZulGuZAgl9FdyEVNmqV7S8U=";
};
buildAndTestSubdir = "risc0/r0vm";
@ -33,16 +33,16 @@ rustPlatform.buildRustPackage rec {
doCheck = false;
cargoHash = "sha256-OsxCIFgJiHfx52nRYRNLTB501RGKSBPQs2MQAs/BFfc=";
cargoHash = "sha256-3DwrWkjPCE4f/FHjzWyRGAXJPv30B4Ce8fh2oKDhpMM=";
postPatch =
let
# see https://github.com/risc0/risc0/blob/v0.21.0/risc0/circuit/recursion/build.rs
sha256Hash = "3504a2542626acb974dea1ae5542c90c032c4ef42f230977f40f245442a1ec23";
# see https://github.com/risc0/risc0/blob/v1.0.1/risc0/circuit/recursion/build.rs
sha256Hash = "4e8496469e1efa00efb3630d261abf345e6b2905fb64b4f3a297be88ebdf83d2";
recursionZkr = fetchurl {
name = "recursion_zkr.zip";
url = "https://risc0-artifacts.s3.us-west-2.amazonaws.com/zkr/${sha256Hash}.zip";
sha256 = "sha256:08zcl515890gyivhj8rgyi72q0qcr515bbm1vrsbkb164raa411m";
sha256 = "sha256-ToSWRp4e+gDvs2MNJhq/NF5rKQX7ZLTzope+iOvfg9I=";
};
in
''