deepin-icon-theme: init at 2021.11.24

This commit is contained in:
rewine 2023-01-12 13:56:08 +08:00 committed by rewine
parent 3875a3e3e1
commit 6af5ac7ba5
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,46 @@
{ stdenvNoCC
, lib
, fetchFromGitHub
, gtk3
, xcursorgen
, papirus-icon-theme
}:
stdenvNoCC.mkDerivation rec {
pname = "deepin-icon-theme";
version = "2021.11.24";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "sha256-UC3PbqolcCbVrIEDqMovfJ4oeofMUGJag1A6u7X3Ml8=";
};
makeFlags = [ "PREFIX=${placeholder "out"}" ];
nativeBuildInputs = [
gtk3
xcursorgen
];
propagatedBuildInputs = [
papirus-icon-theme
];
dontDropIconThemeCache = true;
postFixup = ''
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
'';
meta = with lib; {
description = "Deepin Icon Theme provides the base icon themes on Deepin";
homepage = "https://github.com/linuxdeepin/deepin-icon-theme";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = teams.deepin.members;
};
}

View file

@ -22,6 +22,9 @@ let
#### Dtk Application
deepin-calculator = callPackage ./apps/deepin-calculator { };
#### ARTWORK
deepin-icon-theme = callPackage ./artwork/deepin-icon-theme { };
};
in
lib.makeScope libsForQt5.newScope packages