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 + ]; + }; +})