diff --git a/pkgs/by-name/sh/sherlock-launcher/package.nix b/pkgs/by-name/sh/sherlock-launcher/package.nix new file mode 100644 index 000000000000..c1202c021fcd --- /dev/null +++ b/pkgs/by-name/sh/sherlock-launcher/package.nix @@ -0,0 +1,50 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, + pkg-config, + gtk4, + gtk4-layer-shell, + dbus, + glib, + wayland, + openssl, + sqlite, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "sherlock-launcher"; + version = "0.1.10"; + + src = fetchFromGitHub { + owner = "Skxxtz"; + repo = "sherlock"; + tag = "v${finalAttrs.version}"; + hash = "sha256-PCgnGRujbeQ2ckXYGAU38+WxGTpIayPVOL3ivnPYFwQ="; + }; + + nativeBuildInputs = [ + pkg-config + glib + ]; + + buildInputs = [ + gtk4 + gtk4-layer-shell + dbus + openssl + sqlite + glib + wayland + ]; + + cargoHash = "sha256-053x0ChpE5MCYKzW/nJ29LzGnMgut2RLgb5KkTF17Vc="; + + meta = { + description = "Lightweight and efficient application launcher for Wayland built with Rust and GTK4"; + homepage = "https://github.com/Skxxtz/sherlock"; + license = lib.licenses.cc-by-nc-40; + mainProgram = "sherlock"; + maintainers = with lib.maintainers; [ agvantibo ]; + }; +})