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