Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 stdenvNoCC,
3 fetchFromGitHub,
4 lib,
5}:
6
7stdenvNoCC.mkDerivation rec {
8 pname = "nordzy-cursor-theme";
9 version = "2.4.0";
10
11 src = fetchFromGitHub {
12 owner = "guillaumeboehm";
13 repo = "Nordzy-cursors";
14 rev = "v${version}";
15 sha256 = "sha256-pPcdlMa3H5RtbqIxvgxDkP4tw76H2UQujXbrINc3MxE=";
16 };
17
18 installPhase = ''
19 mkdir -p $out/share/icons
20 cp -r xcursors/* $out/share/icons
21 cp -r hyprcursors/themes/* $out/share/icons
22 '';
23
24 meta = with lib; {
25 description = "Cursor theme using the Nord color palette and based on Vimix and cz-Viator";
26 homepage = "https://github.com/guillaumeboehm/Nordzy-cursors";
27 license = licenses.gpl3;
28 platforms = platforms.all;
29 maintainers = with maintainers; [
30 alexnortung
31 ];
32 };
33}