2016-09-18 12:35:23 -07:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gnome3
|
2019-05-22 04:03:39 -07:00
|
|
|
, iconnamingutils, gtk3, gdk-pixbuf, librsvg, hicolor-icon-theme }:
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "adwaita-icon-theme";
|
2020-05-06 12:08:23 -07:00
|
|
|
version = "3.36.1";
|
2018-02-25 12:07:20 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "mirror://gnome/sources/adwaita-icon-theme/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-05-06 12:08:23 -07:00
|
|
|
sha256 = "0kgiq712lfidd81yzx0yk7qwlj3q8cymp6npnxyzsk844y353674";
|
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
|
|
|
|
2019-05-22 04:03:39 -07:00
|
|
|
buildInputs = [ gdk-pixbuf librsvg ];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2019-02-13 13:47:50 -08:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool iconnamingutils gtk3 ];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2020-04-17 13:12:18 -07:00
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
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;
|
2020-04-01 05:40:51 -07:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 12:35:23 -07:00
|
|
|
};
|
|
|
|
}
|