From 7b3d110d4046e7fae61695df3689328050ef91e1 Mon Sep 17 00:00:00 2001 From: Stel Clementine Date: Mon, 2 Jun 2025 14:04:04 -0700 Subject: [PATCH] everforest-cursors: init at 3212590527 --- .../by-name/ev/everforest-cursors/package.nix | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pkgs/by-name/ev/everforest-cursors/package.nix diff --git a/pkgs/by-name/ev/everforest-cursors/package.nix b/pkgs/by-name/ev/everforest-cursors/package.nix new file mode 100644 index 000000000000..a147ee14d3b3 --- /dev/null +++ b/pkgs/by-name/ev/everforest-cursors/package.nix @@ -0,0 +1,35 @@ +{ + lib, + stdenvNoCC, + fetchurl, + nix-update-script, +}: + +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "everforest-cursors"; + version = "3212590527"; + + src = fetchurl { + url = "https://github.com/talwat/everforest-cursors/releases/download/${finalAttrs.version}/everforest-cursors-variants.tar.bz2"; + hash = "sha256-xXgtN9wbjbrGLUGYymMEGug9xEs9y44mq18yZVdbiuU="; + }; + + sourceRoot = "."; + + installPhase = '' + runHook preInstall + mkdir -p $out/share/icons + cp -r ./everforest-cursors* $out/share/icons + runHook postInstall + ''; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Everforest cursor theme, based on phinger-cursors"; + homepage = "https://github.com/talwat/everforest-cursors"; + license = lib.licenses.cc-by-sa-40; + platforms = lib.platforms.linux; + maintainers = [ lib.maintainers.stelcodes ]; + }; +})