From d20b0897def4ab2c5a48c0839ccaac8efa391a08 Mon Sep 17 00:00:00 2001 From: santoshxshrestha Date: Wed, 24 Sep 2025 12:55:54 +0545 Subject: [PATCH] nightdiamond: init at 0-unstable-2025-09-23 nightdiamond-cursors: fix maintainer attribute nightdiamond-cursors: fix the location and renamed the file --- .../ni/nightdiamond-cursors/package.nix | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgs/by-name/ni/nightdiamond-cursors/package.nix diff --git a/pkgs/by-name/ni/nightdiamond-cursors/package.nix b/pkgs/by-name/ni/nightdiamond-cursors/package.nix new file mode 100644 index 000000000000..4ef2eef09e1d --- /dev/null +++ b/pkgs/by-name/ni/nightdiamond-cursors/package.nix @@ -0,0 +1,32 @@ +{ + lib, + stdenvNoCC, + fetchFromGitHub, +}: + +stdenvNoCC.mkDerivation { + pname = "nightdiamond-cursors"; + version = "0-unstable-2025-09-23"; + + src = fetchFromGitHub { + owner = "santoshxshrestha"; + repo = "NightDiamond-cursors"; + rev = "3ff3c0486430a4901b4d5cbbee87a370aa2b8ce9"; + hash = "sha256-huruHo5w7Qrte1+nIiz+P1xPNDGrv5/eByHwaSlZYwQ="; + }; + + installPhase = '' + runHook preInstall + mkdir -p $out/share/icons + cp -r NightDiamond-* $out/share/icons/ + runHook postInstall + ''; + + meta = { + homepage = "https://github.com/santoshxshrestha/NightDiamond-cursors"; + description = "NightDiamond cursor themes"; + license = lib.licenses.gpl3Only; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ santosh ]; + }; +}