Skip to content

Commit

Permalink
waypipe: 0.92 -> 0.10.0 (#373212)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 authored Jan 14, 2025
2 parents 6cacf1e + 94cde4b commit c01257f
Showing 1 changed file with 38 additions and 9 deletions.
47 changes: 38 additions & 9 deletions pkgs/by-name/wa/waypipe/package.nix
Original file line number Diff line number Diff line change
@@ -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; {
Expand Down

0 comments on commit c01257f

Please sign in to comment.