From 47cf68630cb389a7f9997f664cb3c8b047006fa9 Mon Sep 17 00:00:00 2001 From: Liam-Weitzel Date: Thu, 10 Jul 2025 19:07:25 +0200 Subject: [PATCH 1/2] maintainers: add liam-w --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index a91395c7d540..70b726f1b404 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -14285,6 +14285,12 @@ githubId = 307589; name = "Nathaniel Baxter"; }; + liam-w = { + email = "liam.weitzel2@gmail.com"; + github = "Liam-Weitzel"; + githubId = 22010764; + name = "Liam Weitzel"; + }; liamdiprose = { email = "liam@liamdiprose.com"; github = "liamdiprose"; From 4bc4426ef0f46460a3631837f1fcb3faa202e501 Mon Sep 17 00:00:00 2001 From: Liam-Weitzel Date: Sat, 12 Jul 2025 15:24:38 +0200 Subject: [PATCH 2/2] maplestory-cursor: init at 1.0.0 --- pkgs/by-name/ma/maplestory-cursor/package.nix | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 pkgs/by-name/ma/maplestory-cursor/package.nix diff --git a/pkgs/by-name/ma/maplestory-cursor/package.nix b/pkgs/by-name/ma/maplestory-cursor/package.nix new file mode 100644 index 000000000000..256946615833 --- /dev/null +++ b/pkgs/by-name/ma/maplestory-cursor/package.nix @@ -0,0 +1,51 @@ +{ + fetchFromGitHub, + lib, + stdenvNoCC, + + # build deps + clickgen, + python3Packages, +}: + +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "maplestory-cursor"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "Liam-Weitzel"; + repo = "maplestory-cursor"; + tag = "v${finalAttrs.version}"; + hash = "sha256-doUnd0XyA7Nk078eDEIrRltj3zBODHpGn8Rqx2rl5/o="; + }; + + nativeBuildInputs = [ + clickgen + python3Packages.attrs + ]; + + buildPhase = '' + runHook preBuild + + ctgen build.toml -p x11 -o $out + + runHook postBuild + ''; + + installPhase = '' + runHook preInstall + + mkdir -p $out/share/icons + mv $out/Maple $out/share/icons + + runHook postInstall + ''; + + meta = { + description = "Maplestory cursor theme for x11 & wayland"; + homepage = "https://github.com/Liam-Weitzel/maplestory-cursor"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ liam-w ]; + platforms = lib.platforms.linux; + }; +})