From d8d64f444353da0af0f30a6f2452fbf03e5f13e4 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Tue, 11 Feb 2025 16:37:51 +0530 Subject: [PATCH] rose-pine-hyprcursor: init at 0.3.2 Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com> --- .../ro/rose-pine-hyprcursor/package.nix | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pkgs/by-name/ro/rose-pine-hyprcursor/package.nix diff --git a/pkgs/by-name/ro/rose-pine-hyprcursor/package.nix b/pkgs/by-name/ro/rose-pine-hyprcursor/package.nix new file mode 100644 index 000000000000..bef43596d05e --- /dev/null +++ b/pkgs/by-name/ro/rose-pine-hyprcursor/package.nix @@ -0,0 +1,40 @@ +{ + lib, + stdenv, + fetchFromGitHub, + nix-update-script, +}: +stdenv.mkDerivation (finalAttrs: { + pname = "rose-pine-hyprcursor"; + version = "0.3.2"; + + src = fetchFromGitHub { + owner = "ndom91"; + repo = "rose-pine-hyprcursor"; + tag = "v${finalAttrs.version}"; + hash = "sha256-ArUX5qlqAXUqcRqHz4QxXy3KgkfasTPA/Qwf6D2kV0U="; + }; + + installPhase = '' + runHook preInstall + + mkdir -p $out/share/icons/rose-pine-hyprcursor + cp -R . $out/share/icons/rose-pine-hyprcursor/ + + runHook postInstall + ''; + + passthru = { + updateScript = nix-update-script { }; + }; + + meta = { + description = "Rose Pine theme for Hyprcursor"; + homepage = "https://github.com/ndom91/rose-pine-hyprcursor"; + changelog = "https://github.com/ndom91/rose-pine-hyprcursor/releases/tag/v${finalAttrs.version}/CHANGELOG.md"; + license = lib.licenses.gpl3; + maintainers = with lib.maintainers; [ + johnrtitor + ]; + }; +})