Unverified Commit ab08953d authored by Marcus Ramberg's avatar Marcus Ramberg Committed by GitHub
Browse files

sherlock-launcher: init at 0.1.10 (#403004)

parents 309cf025 623472e4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -772,6 +772,12 @@
    githubId = 1141462;
    name = "Vladyslav Pekker";
  };
  agvantibo = {
    email = "apicalium@gmail.com";
    github = "agvantibo-again";
    githubId = 207841739;
    name = "Savchenko Dmitriy";
  };
  aherrmann = {
    email = "andreash87@gmx.ch";
    github = "aherrmann";
+50 −0
Original line number Diff line number Diff line
{
  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 ];
  };
})