From 067bbc9eaba8f5b95ec69bfe91fe699a854734a5 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Sat, 21 Dec 2024 22:45:23 +0200 Subject: [PATCH] xtra-dispatchers: add nix --- flake.lock | 6 +++--- flake.nix | 2 ++ xtra-dispatchers/default.nix | 19 +++++++++++++++++++ 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 xtra-dispatchers/default.nix diff --git a/flake.lock b/flake.lock index 114f675..69331a9 100644 --- a/flake.lock +++ b/flake.lock @@ -145,11 +145,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1734451958, - "narHash": "sha256-PGBoai3Q+oOYpobj5iPFB5j+F1SEPIQn7uMm8ipCYhI=", + "lastModified": 1734808910, + "narHash": "sha256-p3b1pgacsB7zVGa/VFsMu7U8FN4Jy0okZSI8TribLTg=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "bd7092a9feb39275a9eb1426046a46671e0fe580", + "rev": "57921d7dbd1b87a9474f609cb9cd30e6174027cd", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 98466c9..196b24b 100644 --- a/flake.nix +++ b/flake.nix @@ -36,6 +36,7 @@ hyprexpo hyprtrails hyprwinwrap + xtra-dispatchers ; }); @@ -55,6 +56,7 @@ hyprexpo = callPackage ./hyprexpo {}; hyprtrails = callPackage ./hyprtrails {}; hyprwinwrap = callPackage ./hyprwinwrap {}; + xtra-dispatchers = callPackage ./xtra-dispatchers {}; }; }; diff --git a/xtra-dispatchers/default.nix b/xtra-dispatchers/default.nix new file mode 100644 index 0000000..87a323e --- /dev/null +++ b/xtra-dispatchers/default.nix @@ -0,0 +1,19 @@ +{ + lib, + hyprland, + hyprlandPlugins, +}: +hyprlandPlugins.mkHyprlandPlugin hyprland { + pluginName = "xtra-dispatchers"; + version = "0.1"; + src = ./.; + + inherit (hyprland) nativeBuildInputs; + + meta = with lib; { + homepage = "https://github.com/hyprwm/hyprland-plugins"; + description = "Hyprland extra dispatchers plugin"; + license = licenses.bsd3; + platforms = platforms.linux; + }; +}