mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
43 lines
1.2 KiB
Nix
43 lines
1.2 KiB
Nix
_: {
|
|
perSystem = _: {
|
|
packages.hypr-dynamic-cursors-manual = {
|
|
lib,
|
|
mkHyprlandPlugin,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
mkHyprlandPlugin {
|
|
pluginName = "hypr-dynamic-cursors";
|
|
version = "0-unstable-2026-05-29";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "VirtCode";
|
|
repo = "hypr-dynamic-cursors";
|
|
rev = "1de08deb7d495124ce88b342fecc7e7542d0672f";
|
|
hash = "sha256-Ck9dFUfj/zDSab16CzsGWEMNeSNDhhDOB0JWeHzVvjk=";
|
|
};
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/lib
|
|
mv out/dynamic-cursors.so $out/lib/libhypr-dynamic-cursors.so
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru.updateScript = nix-update-script {extraArgs = ["--version=branch"];};
|
|
|
|
meta = {
|
|
description = "Plugin to make your Hyprland cursor more realistic";
|
|
homepage = "https://github.com/VirtCode/hypr-dynamic-cursors";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [donovanglover];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
};
|
|
};
|
|
}
|