2016-09-18 12:35:23 -07:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gnome3
|
2019-02-13 13:47:50 -08:00
|
|
|
, iconnamingutils, gtk3, gdk_pixbuf, librsvg, hicolor-icon-theme }:
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 12:07:20 -08:00
|
|
|
name = "adwaita-icon-theme-${version}";
|
2019-03-03 10:18:10 -08:00
|
|
|
version = "3.32.0";
|
2018-02-25 12:07:20 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-04 17:12:11 -07:00
|
|
|
url = "mirror://gnome/sources/adwaita-icon-theme/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-03-03 10:18:10 -08:00
|
|
|
sha256 = "11ij35na8nisvxx3qh527iz33h6z2q1a7iinqyp7p65v0zjbd3b9";
|
2018-02-25 12:07:20 -08:00
|
|
|
};
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
# For convenience, we can specify adwaita-icon-theme only in packages
|
2018-02-24 18:23:58 -08:00
|
|
|
propagatedBuildInputs = [ hicolor-icon-theme ];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
buildInputs = [ gdk_pixbuf librsvg ];
|
|
|
|
|
2019-02-13 13:47:50 -08:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool iconnamingutils gtk3 ];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
# remove a tree of dirs with no files within
|
|
|
|
postInstall = '' rm -rf "$out/locale" '';
|
|
|
|
|
2018-09-04 17:42:20 -07:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "adwaita-icon-theme";
|
|
|
|
attrPath = "gnome3.adwaita-icon-theme";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 12:35:23 -07:00
|
|
|
meta = with stdenv.lib; {
|
2017-04-17 14:43:03 -07:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
2016-09-18 12:35:23 -07:00
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
};
|
|
|
|
}
|