package nineicons separately

This commit is contained in:
Alex 2024-07-31 20:29:50 -04:00
parent 7829c48024
commit 79d7e8c00d
3 changed files with 34 additions and 4 deletions

View File

@ -8,9 +8,10 @@
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
atauPkgs = { atauPkgs = {
atau-wallpapers = pkgs.callPackage ./atau-wallpapers/default.nix { }; atau-wallpapers = pkgs.callPackage ./atau-wallpapers { };
theme-platinum9 = pkgs.callPackage ./theme-platinum9/default.nix { }; theme-platinum9 = pkgs.callPackage ./theme-platinum9 { };
gtk-theme-mac-os-9 = pkgs.callPackage ./gtk-theme-mac-os-9 { }; gtk-theme-mac-os-9 = pkgs.callPackage ./gtk-theme-mac-os-9 { };
nineicons-redux = pkgs.callPackage ./nineicons-redux { };
}; };
in in
{ {

View File

@ -0,0 +1,29 @@
{ lib, stdenv }:
stdenv.mkDerivation rec {
name = "nineicons-redux";
pname = name;
version = "3cc6c532a2fcbfa2d9d15b91f7fbc0a98ddb5cf3";
src = fetchGit {
url = "https://www.opencode.net/aitees/nineicons-redux.git";
rev = version;
};
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 ];
};
}

View File

@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
mv PlatiPlus26 "$out/share/themes" mv PlatiPlus26 "$out/share/themes"
# Install icons # Install icons
mkdir -p "$out/share/icons" # mkdir -p "$out/share/icons"
mv NineIcons/ "$out/share/icons" # mv NineIcons/ "$out/share/icons"
# Install fonts # Install fonts
mkdir -p "$out/share/fonts/truetype" mkdir -p "$out/share/fonts/truetype"