nixpkgs/pkgs/by-name/hy/hyprlauncher/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
935 B
Nix
Raw Normal View History

2024-11-02 14:09:11 +00:00
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
glib,
pango,
gtk4,
2024-11-13 21:20:02 +00:00
gtk4-layer-shell,
2024-11-02 14:09:11 +00:00
wrapGAppsHook4,
}:
rustPlatform.buildRustPackage rec {
pname = "hyprlauncher";
2024-11-13 21:20:02 +00:00
version = "0.2.2";
2024-11-02 14:09:11 +00:00
src = fetchFromGitHub {
owner = "hyprutils";
repo = "hyprlauncher";
rev = "refs/tags/v${version}";
2024-11-13 21:20:02 +00:00
hash = "sha256-E6/V9p5YIjg3/Svw70GwY1jibkg2xnzdAvmphc0xbQQ=";
2024-11-02 14:09:11 +00:00
};
2024-11-13 21:20:02 +00:00
cargoHash = "sha256-gkBpBlBR9Y2dkuqK7X/sxKdS9staFsbHv3Slg9UvP3A=";
2024-11-02 14:09:11 +00:00
strictDeps = true;
nativeBuildInputs = [
pkg-config
wrapGAppsHook4
];
buildInputs = [
glib
pango
gtk4
2024-11-13 21:20:02 +00:00
gtk4-layer-shell
2024-11-02 14:09:11 +00:00
];
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";
};
}