summary refs log tree commit diff
path: root/pkgs/data/icons/nordzy-cursor-theme
diff options
context:
space:
mode:
authorAlexander Nortung <alex_nortung@live.dk>2021-12-11 23:38:40 +0100
committerAlexander Nortung <alex_nortung@live.dk>2021-12-11 23:38:40 +0100
commit5a6e995a46ccb5e16c3c7ddba700c8d753b8ae41 (patch)
treecaa0d6502bf64159afa88bf01373cc6a9e47a41c /pkgs/data/icons/nordzy-cursor-theme
parent05823d0ed742dbafc7d0714729542e8d333cd58e (diff)
downloadnixpkgs-5a6e995a46ccb5e16c3c7ddba700c8d753b8ae41.tar
nixpkgs-5a6e995a46ccb5e16c3c7ddba700c8d753b8ae41.tar.gz
nixpkgs-5a6e995a46ccb5e16c3c7ddba700c8d753b8ae41.tar.bz2
nixpkgs-5a6e995a46ccb5e16c3c7ddba700c8d753b8ae41.tar.lz
nixpkgs-5a6e995a46ccb5e16c3c7ddba700c8d753b8ae41.tar.xz
nixpkgs-5a6e995a46ccb5e16c3c7ddba700c8d753b8ae41.tar.zst
nixpkgs-5a6e995a46ccb5e16c3c7ddba700c8d753b8ae41.zip
nordzy-cursor-theme: init at 0.1.0
Diffstat (limited to 'pkgs/data/icons/nordzy-cursor-theme')
-rw-r--r--pkgs/data/icons/nordzy-cursor-theme/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/data/icons/nordzy-cursor-theme/default.nix b/pkgs/data/icons/nordzy-cursor-theme/default.nix
new file mode 100644
index 00000000000..7648a57474a
--- /dev/null
+++ b/pkgs/data/icons/nordzy-cursor-theme/default.nix
@@ -0,0 +1,37 @@
+{ stdenv
+, fetchFromGitHub
+, lib
+}:
+
+stdenv.mkDerivation rec {
+  pname = "nordzy-cursor-theme";
+  version = "0.1.0";
+
+  src = fetchFromGitHub {
+    owner = "alvatip";
+    repo = "Nordzy-cursors";
+    rev = "v${version}";
+    sha256 = "XabfKFyeII7Xl+ozzpPnc4xFH4B7GzCTLq4M1QPSZPw=";
+  };
+
+  installPhase = ''
+    mkdir -p $out/share/icons
+
+    cp -r nordzy-dark/ $out/share/icons/Nordzy-cursors
+    mv $out/share/icons/Nordzy-cursors/index.theme $out/share/icons/Nordzy-cursors/cursor.theme
+    mv $out/share/icons/Nordzy-cursors/Nordzy-cursors $out/share/icons/Nordzy-cursors/cursors
+    cp -r nordzy-white/ $out/share/icons/Nordzy-white-cursors
+    mv $out/share/icons/Nordzy-white-cursors/index.theme $out/share/icons/Nordzy-white-cursors/cursor.theme
+    mv $out/share/icons/Nordzy-white-cursors/Nordzy-white-cursors $out/share/icons/Nordzy-white-cursors/cursors
+  '';
+
+  meta = with lib; {
+    description = "Cursor theme using the Nord color palette and based on Vimix and cz-Viator";
+    homepage = "https://github.com/alvatip/Nordzy-cursors";
+    license = licenses.gpl3;
+    platforms = platforms.all;
+    maintainers = with maintainers; [
+      alexnortung
+    ];
+  };
+}