Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
61 lines
1.2 KiB
Nix
61 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
wrapGAppsHook4,
|
|
gtk4,
|
|
gtk4-layer-shell,
|
|
hyprland,
|
|
gcc,
|
|
pixman,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "hyprshell";
|
|
version = "4.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "H3rmt";
|
|
repo = "hyprshell";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-SRw1X2oC7V/h2Tqo/wTXcu6d1kKVMPrW2HGsNGE4nCA=";
|
|
};
|
|
|
|
cargoHash = "sha256-ULuztkKukOyfQkiGZY7HtWn5nSs2PWX8B86FQP/z7RU=";
|
|
|
|
nativeBuildInputs = [
|
|
wrapGAppsHook4
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk4
|
|
gtk4-layer-shell
|
|
];
|
|
|
|
preFixup = ''
|
|
gappsWrapperArgs+=(
|
|
--prefix PATH : '${lib.makeBinPath [ gcc ]}'
|
|
--prefix CPATH : '${
|
|
lib.makeIncludePath (
|
|
hyprland.buildInputs
|
|
++ [
|
|
hyprland
|
|
pixman
|
|
]
|
|
)
|
|
}'
|
|
)
|
|
'';
|
|
|
|
meta = {
|
|
description = "Modern GTK4-based window switcher and application launcher for Hyprland";
|
|
mainProgram = "hyprshell";
|
|
homepage = "https://github.com/H3rmt/hyprshell";
|
|
license = lib.licenses.mit;
|
|
platforms = hyprland.meta.platforms;
|
|
maintainers = with lib.maintainers; [ arminius-smh ];
|
|
};
|
|
})
|