waylevel: init at 1.0.0

use patchelf instead of wrapProgram for libpath

+33
+31
pkgs/tools/misc/waylevel/default.nix
··· 1 + { lib 2 + , fetchFromSourcehut 3 + , makeWrapper 4 + , rustPlatform 5 + , wayland 6 + }: 7 + rustPlatform.buildRustPackage rec { 8 + pname = "waylevel"; 9 + version = "1.0.0"; 10 + 11 + src = fetchFromSourcehut { 12 + owner = "~shinyzenith"; 13 + repo = pname; 14 + rev = version; 15 + hash = "sha256-T2gqiRcKrKsvwGNnWrxR1Ga/VX4AyllYn1H25aIKt5s="; 16 + }; 17 + 18 + cargoHash = "sha256-gw5m1/btJ5zZP04C7BCnHqEOUBoeu0whK8W7xA+xSQo="; 19 + 20 + postFixup = '' 21 + patchelf --set-rpath ${lib.makeLibraryPath [wayland]} $out/bin/waylevel 22 + ''; 23 + 24 + meta = with lib; { 25 + description = "A tool to print wayland toplevels and other compositor info"; 26 + homepage = "https://git.sr.ht/~shinyzenith/waylevel"; 27 + license = licenses.bsd2; 28 + maintainers = with maintainers; [ dit7ya ]; 29 + platforms = platforms.linux; 30 + }; 31 + }
+2
pkgs/top-level/all-packages.nix
··· 28127 28127 28128 28128 wayshot = callPackage ../tools/misc/wayshot { }; 28129 28129 28130 + waylevel = callPackage ../tools/misc/waylevel { }; 28131 + 28130 28132 wbg = callPackage ../applications/misc/wbg { }; 28131 28133 28132 28134 hikari = callPackage ../applications/window-managers/hikari {