xen-guest-agent: 0.3.0 -> 0.4.0-unstable-2024-05-31

New dependency: pkg-config

https://gitlab.com/xen-project/xen-guest-agent/-/releases/0.4.0

The 03aaadbe commit is required to fix compilation on Rust 1.80.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>

authored by Fernando Rodrigues and committed by Alyssa Ross de2d1ba8 d50d09a7

+10 -11
+10 -11
pkgs/by-name/xe/xen-guest-agent/package.nix
··· 3 3 fetchFromGitLab, 4 4 rustPlatform, 5 5 llvmPackages, 6 + pkg-config, 6 7 xen-slim, 7 8 }: 8 9 rustPlatform.buildRustPackage rec { 9 10 pname = "xen-guest-agent"; 10 - version = "0.3.0"; 11 + version = "0.4.0-unstable-2024-05-31"; 11 12 12 13 src = fetchFromGitLab { 13 14 owner = "xen-project"; 14 15 repo = pname; 15 - rev = version; 16 - hash = "sha256-Csio24ofj+p0j/R0av/28P/KCNXhmcF+r8xGJEfoHjQ="; 16 + rev = "03aaadbe030f303b1503e172ee2abb6d0cab7ac6"; 17 + hash = "sha256-OhzRsRwDvt0Ov+nLxQSP87G3RDYSLREMz2w9pPtSUYg="; 17 18 }; 18 19 19 - cargoHash = "sha256-XWDDzSu88zCIwMuvkFjCb98DzXHvW2IP9u3EbpAMIgw="; 20 - 21 - env = { 22 - LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib"; 23 - BINDGEN_EXTRA_CLANG_ARGS = "-isystem ${xen-slim.dev}/include"; 24 - RUSTFLAGS = "-L ${xen-slim.out}/lib"; 25 - }; 20 + cargoHash = "sha256-E6QKh4FFr6sLAByU5n6sLppFwPHSKtKffhQ7FfdXAu4="; 26 21 27 22 nativeBuildInputs = [ 28 23 llvmPackages.clang 29 - xen-slim.out 24 + pkg-config 30 25 ]; 26 + 27 + buildInputs = [ xen-slim ]; 28 + 29 + env.LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib"; 31 30 32 31 postFixup = '' 33 32 patchelf $out/bin/xen-guest-agent --add-rpath ${xen-slim.out}/lib