{ lib, stdenvNoCC, gtk3, hicolor-icon-theme }: stdenvNoCC.mkDerivation rec { name = "theme-platinum9"; pname = name; version = "d3d2080c1a2d5772714d089d1dc1daeeb41db008"; src = fetchGit { url = "https://git.atauno.com/atau/Platinum9.git"; rev = version; }; nativeBuildInputs = [ gtk3 ]; installPhase = '' runHook preInstall # Install themes mkdir -p "$out/share/themes" mv ClassicPlatinumStreamlined "$out/share/themes" mv PlatiPlus "$out/share/themes" mv PlatiPlus26 "$out/share/themes" chmod 644 -R $out/share/themes # Install fonts mkdir -p "$out/share/fonts/truetype" mv Charcoal.ttf "$out/share/fonts/truetype" mv MONACO.TTF "$out/share/fonts/truetype" chmod 644 -R $out/share/fonts # Install wallpapers mkdir -p "$out/share/backgrounds" mv OS9-wallpaper/ "$out/share/backgrounds" chmod 644 -R $out/share/backgrounds runHook postInstall ''; meta = with lib; { homepage = "https://github.com/grassmunk/Platinum9.git"; description = "This is a quick and dirty theme meant to approximate (but not really be too pixel accurate) the MacOS 9 (or System 7) theme."; platforms = platforms.unix; maintainers = with maintainers; [ atau ]; }; }