15 rustPlatform.buildRustPackage rec {
19 src = fetchFromGitHub {
23 sha256 = "sha256-lw4whdh8tNoS5XUlamQCq8f8z8K59uD90PSSo3skeyo=";
27 lockFile = ./Cargo.lock;
29 "egui_nodes-0.1.4" = "sha256-Bb88T+erjgKD769eYOSiVEg9lFnB5pBEDLeWgCdyUus=";
33 nativeBuildInputs = [ pkg-config ];
42 rustPlatform.bindgenHook
51 patchelf $out/bin/pw-viz \
52 --add-rpath ${lib.makeLibraryPath [ libGL libxkbcommon wayland ]}
55 # enables pipewire API deprecated in 0.3.64
56 # fixes error caused by https://gitlab.freedesktop.org/pipewire/pipewire-rs/-/issues/55
57 env.NIX_CFLAGS_COMPILE = toString [ "-DPW_ENABLE_DEPRECATED" ];
60 description = "A simple and elegant pipewire graph editor ";
61 homepage = "https://github.com/ax9d/pw-viz";
62 license = licenses.gpl3Only;
63 maintainers = with maintainers; [ figsoda ];
64 platforms = platforms.linux;