8 , numix-icon-theme-circle
10 , allColorVariants ? false
15 pname = "reversal-icon-theme";
17 lib.checkListOfEnum "${pname}: color variants" [ "-blue" "-red" "-pink" "-purple" "-green" "-orange" "-brown" "-grey" "-black" "-cyan" ] colorVariants
19 stdenvNoCC.mkDerivation rec {
21 version = "unstable-2023-05-13";
23 src = fetchFromGitHub {
24 owner = "yeyushengfan258";
26 rev = "bdae2ea365731b25a869fc2c8c6a1fb849eaf5b2";
27 hash = "sha256-Cd+1ggyS+Y2Sk8w5zifc4IFOwbFrbjL6S6awES/W0EE=";
35 propagatedBuildInputs = [
38 numix-icon-theme-circle
41 dontDropIconThemeCache = true;
43 # These fixup steps are slow and unnecessary for this package.
44 # Package may install many small files.
46 dontRewriteSymlinks = true;
49 patchShebangs install.sh
55 mkdir -p $out/share/icons
58 ${if allColorVariants then "-a" else builtins.toString colorVariants} \
61 rm $out/share/icons/*/{AUTHORS,COPYING}
63 jdupes --quiet --link-soft --recurse $out/share
68 passthru.updateScript = gitUpdater { };
71 description = "Colorful Design Rectangle icon theme";
72 homepage = "https://github.com/yeyushengfan258/Reversal-icon-theme";
73 license = licenses.gpl3Plus;
74 platforms = platforms.all;
75 maintainers = with maintainers; [ romildo ];