depot/third_party/nixpkgs/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprgrass.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +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.7.0";
src = fetchFromGitHub {
owner = "horriblename";
repo = "hyprgrass";
rev = "v${version}";
hash = "sha256-DfM2BqnFW48NlHkBfC7ErHgK7WHlOgiiE+aFetN/yJ4=";
};
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;
};
}