2016-09-18 21:35:23 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gnome3
|
2019-05-22 13:03:39 +02:00
|
|
|
, iconnamingutils, gtk3, gdk-pixbuf, librsvg, hicolor-icon-theme }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "adwaita-icon-theme";
|
2019-11-25 08:36:19 +01:00
|
|
|
version = "3.34.3";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://gnome/sources/adwaita-icon-theme/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-11-25 08:36:19 +01:00
|
|
|
sha256 = "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7";
|
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
|
|
|
|
2019-05-22 13:03:39 +02:00
|
|
|
buildInputs = [ gdk-pixbuf librsvg ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|