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