linux/hardened/patches/6.6: v6.6.73-hardened1 -> v6.6.75-hardened1
[NixPkgs.git] / pkgs / desktops / deepin / artwork / deepin-icon-theme / default.nix
blob8c44914e7bb544f41a23b99473da3e3938c31ff3
2   stdenvNoCC,
3   lib,
4   fetchFromGitHub,
5   gtk3,
6   xcursorgen,
7   papirus-icon-theme,
8 }:
10 stdenvNoCC.mkDerivation rec {
11   pname = "deepin-icon-theme";
12   version = "2024.07.31";
14   src = fetchFromGitHub {
15     owner = "linuxdeepin";
16     repo = pname;
17     rev = version;
18     hash = "sha256-Vt2rYZthGelXVUp8/L57ZlDsVEjjZhCv+kSGeU6nC2s=";
19   };
21   makeFlags = [ "PREFIX=${placeholder "out"}" ];
23   nativeBuildInputs = [
24     gtk3
25     xcursorgen
26   ];
28   propagatedBuildInputs = [ papirus-icon-theme ];
30   dontDropIconThemeCache = true;
32   # Remove broken symbolic link(https://github.com/linuxdeepin/developer-center/issues/11245)
33   preFixup = ''
34     rm $out/share/icons/bloom/actions/24/{draw-triangle1.svg,draw-triangle2.svg,draw-triangle3.svg,draw-triangle4.svg}
35     for theme in $out/share/icons/*; do
36       gtk-update-icon-cache $theme
37     done
38   '';
40   meta = with lib; {
41     description = "Provides the base icon themes on deepin";
42     homepage = "https://github.com/linuxdeepin/deepin-icon-theme";
43     license = licenses.gpl3Plus;
44     platforms = platforms.linux;
45     maintainers = teams.deepin.members;
46   };