blob: fb0b6e3d029b1e862cdcfb6324fe8dc2163de448 (
plain)
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
36
37
38
39
40
41
|
{
lib,
stdenvNoCC,
fetchFromGitHub,
gtk3,
gnome-icon-theme,
hicolor-icon-theme,
}:
stdenvNoCC.mkDerivation rec {
pname = "delft-icon-theme";
version = "1.15";
src = fetchFromGitHub {
owner = "madmaxms";
repo = "iconpack-delft";
rev = "v${version}";
sha256 = "fluSh2TR1CdIW54wkUp1QRB0m9akFKnSn4d+0z6gkLA=";
};
nativeBuildInputs = [gtk3];
propagatedBuildInputs = [gnome-icon-theme hicolor-icon-theme];
dontDropIconThemeCache = true;
installPhase = ''
mkdir -p $out/share/icons
cp -a Delft* $out/share/icons/
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
'';
meta = with lib; {
description = "Delft icon theme";
homepage = "https://github.com/madmaxms/iconpack-delft";
license = licenses.gpl3Only;
platforms = platforms.linux;
};
}
|