waypipe: 0.92 -> 0.10.0 (#373212)

This commit is contained in:
Jörg Thalheim
2025-01-14 18:25:05 +01:00
committed by GitHub
+38 -9
View File
@@ -1,50 +1,79 @@
{
lib,
stdenv,
rustPlatform,
fetchFromGitLab,
meson,
ninja,
pkg-config,
scdoc,
libgbm,
mesa,
lz4,
zstd,
ffmpeg,
libva,
cargo,
rustc,
git,
vulkan-headers,
vulkan-loader,
shaderc,
vulkan-tools,
llvmPackages,
autoPatchelfHook,
wayland,
wayland-scanner,
rust-bindgen,
egl-wayland,
}:
stdenv.mkDerivation rec {
llvmPackages.stdenv.mkDerivation rec {
pname = "waypipe";
version = "0.9.2";
version = "0.10.0";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "mstoeckl";
repo = "waypipe";
rev = "v${version}";
hash = "sha256-DW+WWwuav0lxnoV55L8RrX0enRURRnHMljtwEC0+9t4=";
tag = "v${version}";
hash = "sha256-OV0FHieHce83W2O379VpGmUMrtID7NdtIrxIe+IJfF0=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit pname version src;
hash = "sha256-pC1m1P4wJOT3jARGlpc86u7GdyPXX+YHsFLOcWRqdxI=";
};
strictDeps = true;
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [
meson
ninja
pkg-config
scdoc
cargo
git
vulkan-headers
vulkan-loader
shaderc
rustc
wayland-scanner
rustPlatform.cargoSetupHook
autoPatchelfHook
rust-bindgen
];
buildInputs = [
# Optional dependencies:
libgbm
mesa
lz4
zstd
ffmpeg
libva
vulkan-headers
];
runtimeDependencies = [
vulkan-tools
vulkan-loader
wayland
egl-wayland
];
meta = with lib; {