1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35 { lib, stdenvNoCC, fetchFromGitHub, gtk3, xdg-utils, }:
stdenvNoCC.mkDerivation rec {
pname = "adwaita-colors-icon-theme";
version = "2.3";
src = fetchFromGitHub {
owner = "dpejoh";
repo = "Adwaita-colors";
rev = "v${version}";
hash = "sha256-q7qvE55vtd8K0T+VQKJ0Qa/qIPToRh3xU1wLjyW68nQ=";
};
nativeBuildInputs = [
gtk3
xdg-utils
];
installPhase = ''
runHook preInstall
install -d $out/share/icons
cp -r Adwaita-* $out/share/icons/
gtk-update-icon-cache -f -t $out/share/icons/Adwaita* && xdg-desktop-menu forceupdate
runHook postInstall
'';
meta = with lib; {
description = "Adwaita Colors customizes Adwaita icons to match your GNOME theme's accent color, providing a cohesive, personalized look.";
homepage = "https://github.com/dpejoh/Adwaita-colors";
license = with licenses; [ gpl3Only ];
platforms = platforms.linux;
};
}