blob: b22202590b92f50aa3756589dd3abcd9c6acb89b (
about) (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
{
stdenv,
lib,
fetchFromGitHub,
cmake,
gtk3,
xcursorgen,
papirus-icon-theme,
libsForQt5,
hicolor-icon-theme,
deepin-icon-theme,
}:
stdenv.mkDerivation rec {
pname = "deepin-desktop-theme";
version = "1.0.13";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
hash = "sha256-uNeRAsPbgC7IHHBIlczPXhnwZI65Le70D9MsbH+6Fwk=";
};
makeFlags = [ "PREFIX=${placeholder "out"}" ];
nativeBuildInputs = [
cmake
gtk3
xcursorgen
];
propagatedBuildInputs = [
libsForQt5.breeze-icons
papirus-icon-theme
hicolor-icon-theme
deepin-icon-theme
];
dontDropIconThemeCache = true;
preFixup = ''
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
'';
meta = with lib; {
description = "Provides a variety of well-designed theme resources";
homepage = "https://github.com/linuxdeepin/deepin-desktop-theme";
license = with licenses; [
gpl3Plus
cc-by-sa-40
];
platforms = platforms.linux;
teams = [ teams.deepin ];
};
}
|