blob: 8207c8322ff4dee7954d6d2b89a1233c72d14115 (
plain) (
blame)
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, stdenv, fetchurl, intltool, gtk3, gnome3, librsvg, pkgconfig, pango, atk, gtk2
, gdk-pixbuf, hicolor-icon-theme }:
let
pname = "gnome-themes-extra";
version = "3.28";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw";
};
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ gtk3 librsvg pango atk gtk2 gdk-pixbuf ];
propagatedBuildInputs = [ gnome3.adwaita-icon-theme hicolor-icon-theme ];
dontDropIconThemeCache = true;
postInstall = ''
gtk-update-icon-cache "$out"/share/icons/HighContrast
'';
meta = with lib; {
platforms = platforms.linux;
maintainers = teams.gnome.members;
};
}
|