firecracker: 1.10.1 -> 1.11.0 (#391876)

This commit is contained in:
Arne Keller
2025-03-25 09:12:37 +01:00
committed by GitHub
+6 -3
View File
@@ -4,23 +4,24 @@
fetchFromGitHub,
cmake,
gcc,
libseccomp,
rust-bindgen,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "firecracker";
version = "1.10.1";
version = "1.11.0";
src = fetchFromGitHub {
owner = "firecracker-microvm";
repo = "firecracker";
rev = "v${version}";
hash = "sha256-kLQPAHbj8Q425Z5zdwofyHz+sd3bf7zGmcMjKn9yTKc=";
hash = "sha256-Iqhj4BteFTBhhgQmyJVNdRHrXd/kaMRbOJ3eRKilYpw=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-TnEPNTeeX1KP+9HLD/oGF0sZGcXDHpc1Q1wCWw3L6mU=";
cargoHash = "sha256-G6PtJb0Qh7TOq5PcfoYvkY4LEwRj63RbDdxYbzqVxkc=";
# For aws-lc-sys@0.22.0: use external bindgen.
AWS_LC_SYS_EXTERNAL_BINDGEN = "true";
@@ -35,6 +36,8 @@ rustPlatform.buildRustPackage rec {
--replace-warn '(len > INT_MAX - 1)' '(len < 0 || len > INT_MAX - 1)'
'';
buildInputs = [ libseccomp ];
nativeBuildInputs = [
cmake
gcc