depot/third_party/nixpkgs/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprgrass.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

47 lines
860 B
Nix

{
lib,
mkHyprlandPlugin,
hyprland,
fetchFromGitHub,
cmake,
doctest,
meson,
ninja,
wf-touch,
nix-update-script,
}:
mkHyprlandPlugin hyprland rec {
pluginName = "hyprgrass";
version = "0.8.2";
src = fetchFromGitHub {
owner = "horriblename";
repo = "hyprgrass";
rev = "v${version}";
hash = "sha256-0dYMlNYuevQvsd6+imOkic3c6RSssM8WSx1hAepJ/wU=";
};
nativeBuildInputs = [
cmake
doctest
meson
ninja
];
buildInputs = [ wf-touch ];
dontUseCmakeConfigure = true;
doCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Hyprland plugin for touch gestures";
homepage = "https://github.com/horriblename/hyprgrass";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ donovanglover ];
platforms = lib.platforms.linux;
};
}