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