2024-07-27 06:49:29 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
mkHyprlandPlugin,
|
|
|
|
hyprland,
|
|
|
|
fetchFromGitHub,
|
|
|
|
cmake,
|
|
|
|
doctest,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
wf-touch,
|
|
|
|
nix-update-script,
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkHyprlandPlugin hyprland rec {
|
|
|
|
pluginName = "hyprgrass";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.8.1";
|
2024-07-27 06:49:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "horriblename";
|
|
|
|
repo = "hyprgrass";
|
|
|
|
rev = "v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-3CN9ZioI5XBtp6WF61hH2EyASHUIPJQCTXiW1rt9n5w=";
|
2024-07-27 06:49:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|