2024-06-24 18:47:55 +00:00
|
|
|
let
|
|
|
|
# shared src for upstream hyprland-plugins repo
|
|
|
|
# function generating derivations for all plugins in hyprland-plugins
|
|
|
|
hyprland-plugins =
|
|
|
|
builtins.mapAttrs
|
|
|
|
(
|
|
|
|
name: description:
|
|
|
|
(
|
|
|
|
{
|
|
|
|
lib,
|
|
|
|
cmake,
|
|
|
|
fetchFromGitHub,
|
|
|
|
hyprland,
|
|
|
|
mkHyprlandPlugin,
|
|
|
|
}:
|
|
|
|
let
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.43.0";
|
2024-06-24 18:47:55 +00:00
|
|
|
|
|
|
|
hyprland-plugins-src = fetchFromGitHub {
|
|
|
|
owner = "hyprwm";
|
|
|
|
repo = "hyprland-plugins";
|
2024-07-01 15:47:52 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-dPcWAeRJoG5CyWC32X3XX+Og0v/k1/S1N0T5dQWT32k=";
|
2024-06-24 18:47:55 +00:00
|
|
|
};
|
|
|
|
in
|
|
|
|
mkHyprlandPlugin hyprland {
|
|
|
|
pluginName = name;
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = "${hyprland-plugins-src}/${name}";
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/hyprwm/hyprland-plugins";
|
|
|
|
description = "Hyprland ${description} plugin";
|
|
|
|
license = lib.licenses.bsd3;
|
2024-07-01 15:47:52 +00:00
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
fufexan
|
|
|
|
johnrtitor
|
|
|
|
];
|
2024-09-19 14:19:46 +00:00
|
|
|
inherit (hyprland.meta) platforms;
|
2024-06-24 18:47:55 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
|
{
|
|
|
|
borders-plus-plus = "multiple borders";
|
|
|
|
csgo-vulkan-fix = "CS:GO/CS2 Vulkan fix";
|
|
|
|
hyprbars = "window title";
|
|
|
|
hyprexpo = "workspaces overview";
|
|
|
|
hyprtrails = "smooth trails behind moving windows";
|
|
|
|
hyprwinwrap = "xwinwrap-like";
|
|
|
|
};
|
|
|
|
in
|
|
|
|
hyprland-plugins
|