Unverified Commit 25218cad authored by Masum Reza's avatar Masum Reza Committed by GitHub
Browse files

hyprlauncher: init at 0.1.2 (#353162)

parents e2e79be9 bd112af1
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1834,6 +1834,12 @@
    githubId = 10587952;
    name = "Armijn Hemel";
  };
  arminius-smh = {
    email = "armin@sprejz.de";
    github = "arminius-smh";
    githubId = 159054879;
    name = "Armin Manfred Sprejz";
  };
  arnarg = {
    email = "arnarg@fastmail.com";
    github = "arnarg";
+45 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  rustPlatform,
  pkg-config,
  glib,
  pango,
  gtk4,
  wrapGAppsHook4,
}:

rustPlatform.buildRustPackage rec {
  pname = "hyprlauncher";
  version = "0.1.2";

  src = fetchFromGitHub {
    owner = "hyprutils";
    repo = "hyprlauncher";
    rev = "refs/tags/v${version}";
    hash = "sha256-SxsCfEHrJpFSi2BEFFqmJLGJIVzkluDU6ogKkTRT9e8=";
  };

  cargoHash = "sha256-MENreS+DXdJIurWUqHbeb0cCJlRnjjW1bmGdg0QoxlQ=";

  strictDeps = true;

  nativeBuildInputs = [
    pkg-config
    wrapGAppsHook4
  ];
  buildInputs = [
    glib
    pango
    gtk4
  ];

  meta = {
    description = "GUI for launching applications, written in Rust";
    homepage = "https://github.com/hyprutils/hyprlauncher";
    license = lib.licenses.gpl2Only;
    maintainers = with lib.maintainers; [ arminius-smh ];
    platforms = lib.platforms.linux;
    mainProgram = "hyprlauncher";
  };
}