atau-nixpkgs/nineicons-redux/default.nix

32 lines
791 B
Nix

{ lib, stdenvNoCC }:
stdenvNoCC.mkDerivation rec {
name = "nineicons-redux";
pname = name;
version = "3cc6c532a2fcbfa2d9d15b91f7fbc0a98ddb5cf3";
src = fetchGit {
url = "https://www.opencode.net/aitees/nineicons-redux.git";
rev = version;
};
dontDropIconThemeCache = true;
installPhase = ''
runHook preInstall
# Install icons
mkdir -p "$out/share/icons/NineIcons"
mv * "$out/share/icons/NineIcons"
runHook postInstall
'';
meta = with lib; {
homepage = "https://www.opencode.net/aitees/nineicons-redux";
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 ];
};
}