colloid-cursors: init at 2025-07-19 (#487168)

This commit is contained in:
Sandro
2026-06-09 20:58:01 +00:00
committed by GitHub
2 changed files with 45 additions and 0 deletions
+6
View File
@@ -30179,6 +30179,12 @@
githubId = 36407913;
name = "Uli Baum";
};
xelacodes = {
name = "Alex";
github = "itzTheMeow";
githubId = 50887230;
email = "nixpkgs@xela.codes";
};
xelden = {
email = "anpiz@protonmail.com";
github = "Xelden";
@@ -0,0 +1,39 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
gitUpdater,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "colloid-cursors";
version = "2025-07-19";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = "Colloid-icon-theme";
tag = finalAttrs.version;
hash = "sha256-x2SSaIkKm1415avO7R6TPkpghM30HmMdjMFUUyPWZsk=";
};
installPhase = ''
runHook preInstall
# Loosely based on the install script: https://github.com/vinceliuice/Colloid-icon-theme/blob/main/cursors/install.sh
mkdir -p $out/share/icons
cp -r cursors/dist $out/share/icons/Colloid-cursors
cp -r cursors/dist-dark $out/share/icons/Colloid-dark-cursors
runHook postInstall
'';
passthru.updateScript = gitUpdater { };
meta = {
description = "Colloid cursor theme";
homepage = "https://github.com/vinceliuice/Colloid-icon-theme/tree/main/cursors#readme";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ xelacodes ];
};
})