depot/third_party/nixpkgs/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprspace.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

40 lines
868 B
Nix

{
lib,
fetchFromGitHub,
hyprland,
mkHyprlandPlugin,
unstableGitUpdater,
}:
mkHyprlandPlugin hyprland {
pluginName = "hyprspace";
version = "0-unstable-2024-08-21";
src = fetchFromGitHub {
owner = "KZDKM";
repo = "hyprspace";
rev = "743ec37d02bb2b7261f28de16bf404cebfd96105";
hash = "sha256-w0j/3OeSrpx+S8if1M2ONBsZvJQ1hBQkdTQEiMCHy7o=";
};
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 ];
};
}