mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 01:33:17 +01:00
packages: Add hypr-dynamic-cursors
Builds successfully but haven't tested.
This commit is contained in:
parent
8488ec962f
commit
71be159fc2
44
packages/hypr-dynamic-cursors.nix
Normal file
44
packages/hypr-dynamic-cursors.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, hyprland
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "hypr-dynamic-cursors";
|
||||
version = "0-unstable-2024-07-06";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "VirtCode";
|
||||
repo = "hypr-dynamic-cursors";
|
||||
rev = "85423b074e112f28e84f6276d31d1548906a625e";
|
||||
hash = "sha256-lCAZ/7xtOE6P7uPIX2uQgC0nDOBZefWYO3O3izRx19E=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
hyprland
|
||||
];
|
||||
|
||||
buildInputs = [ hyprland ] ++ hyprland.buildInputs;
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib
|
||||
mv out/dynamic-cursors.so $out/lib/libdynamic-cursors.so
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user