From 5d0617ac822c69fa4dbc7699b67885edc4f8e2bc Mon Sep 17 00:00:00 2001 From: Alexandre Acebedo Date: Sun, 15 Sep 2024 16:01:08 +0200 Subject: [PATCH] hyprlandPlugins.hyprsplit: init at 0.43.0 --- .../hyprwm/hyprland-plugins/default.nix | 1 + .../hyprwm/hyprland-plugins/hyprsplit.nix | 34 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprsplit.nix diff --git a/pkgs/applications/window-managers/hyprwm/hyprland-plugins/default.nix b/pkgs/applications/window-managers/hyprwm/hyprland-plugins/default.nix index 2970e724b3fd..91f57ad526d9 100644 --- a/pkgs/applications/window-managers/hyprwm/hyprland-plugins/default.nix +++ b/pkgs/applications/window-managers/hyprwm/hyprland-plugins/default.nix @@ -32,6 +32,7 @@ let { hyprgrass = import ./hyprgrass.nix; } { hyprscroller = import ./hyprscroller.nix; } { hyprspace = import ./hyprspace.nix; } + { hyprsplit = import ./hyprsplit.nix; } (import ./hyprland-plugins.nix) ]; in diff --git a/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprsplit.nix b/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprsplit.nix new file mode 100644 index 000000000000..13e51037fc9c --- /dev/null +++ b/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprsplit.nix @@ -0,0 +1,34 @@ +{ + lib, + meson, + fetchFromGitHub, + hyprland, + ninja, + mkHyprlandPlugin, +}: +mkHyprlandPlugin hyprland rec { + pluginName = "hyprsplit"; + version = "0.43.0"; + + src = fetchFromGitHub { + owner = "shezdy"; + repo = "hyprsplit"; + rev = "refs/tags/v${version}"; + hash = "sha256-r533kNIyfgPi/q8ddIYyDK1Pmupt/F3ncHuFo3zjDkU="; + }; + + nativeBuildInputs = [ + meson + ninja + ]; + + meta = { + homepage = "https://github.com/shezdy/hyprsplit"; + description = "Hyprland plugin for awesome / dwm like workspaces"; + license = lib.licenses.bsd3; + inherit (hyprland.meta) platforms; + maintainers = with lib.maintainers; [ + aacebedo + ]; + }; +} -- 2.11.4.GIT