17 rustPlatform.buildRustPackage rec {
21 src = fetchFromGitHub {
22 owner = "onagre-launcher";
25 hash = "sha256-ASeLvgj2RyhsZQtkUTYeA7jWyhbLg8yl6HbN2A/Sl2M=";
28 cargoHash = "sha256-17Hw3jtisOXwARpp0jB0hrNax7nzMWS0kCE3ZAruBj8=";
30 nativeBuildInputs = [ makeWrapper cmake pkgconf ];
41 rpath = lib.makeLibraryPath [ libGL vulkan-loader wayland libxkbcommon ];
43 patchelf --set-rpath ${rpath} $out/bin/onagre
44 wrapProgram $out/bin/onagre \
45 --prefix PATH ':' ${lib.makeBinPath [
51 description = "General purpose application launcher for X and wayland inspired by rofi/wofi and alfred";
52 homepage = "https://github.com/onagre-launcher/onagre";
53 license = licenses.mit;
54 maintainers = [ maintainers.jfvillablanca maintainers.ilya-epifanov ];
55 platforms = platforms.linux;
56 mainProgram = "onagre";