1{
2 stdenvNoCC,
3 fetchFromGitHub,
4 theme,
5 lib,
6}:
7
8stdenvNoCC.mkDerivation (finalAttrs: {
9 pname = "gruppled-lite-cursors";
10 version = "1.0.0";
11
12 src = fetchFromGitHub {
13 owner = "nim65s";
14 repo = "gruppled-lite-cursors";
15 rev = "v${finalAttrs.version}";
16 hash = "sha256-adCXYu8v6mFKXubVQb/RCZXS87//YgixQp20kMt7KT8=";
17 };
18
19 installPhase = ''
20 mkdir -p $out/share/icons/${theme}
21 cp -r ${theme}/{cursors,index.theme} $out/share/icons/${theme}
22 '';
23
24 meta = with lib; {
25 description = "Gruppled Lite Cursors theme";
26 homepage = "https://github.com/nim65s/gruppled-lite-cursors";
27 license = licenses.gpl2Only;
28 maintainers = with maintainers; [ nim65s ];
29 };
30})