depot/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprspace.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

40 lines
868 B
Nix

{
lib,
fetchFromGitHub,
hyprland,
mkHyprlandPlugin,
unstableGitUpdater,
}:
mkHyprlandPlugin hyprland {
pluginName = "hyprspace";
version = "0-unstable-2024-09-16";
src = fetchFromGitHub {
owner = "KZDKM";
repo = "hyprspace";
rev = "8f14fa2e10d24742d713f04c278bc7651037b74b";
hash = "sha256-lMIFDORuyMYHtUPrRWU5WjGcS+ZMrR4/wBSO+sgUVSY=";
};
dontUseCmakeConfigure = true;
installPhase = ''
runHook preInstall
mkdir -p $out/lib
mv Hyprspace.so $out/lib/libhyprspace.so
runHook postInstall
'';
passthru.updateScript = unstableGitUpdater { };
meta = {
homepage = "https://github.com/KZDKM/Hyprspace";
description = "Workspace overview plugin for Hyprland";
license = lib.licenses.gpl2Only;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ donovanglover ];
};
}