2016-09-18 20:35:23 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gnome3
|
2018-02-25 02:23:58 +00:00
|
|
|
, iconnamingutils, gtk, gdk_pixbuf, librsvg, hicolor-icon-theme }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "adwaita-icon-theme-${version}";
|
2018-03-13 01:03:18 +00:00
|
|
|
version = "3.28.0";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/adwaita-icon-theme/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-03-13 01:03:18 +00:00
|
|
|
sha256 = "0l114ildlb3lz3xymfxxi0wpr2x21rd3cg8slb8jyxynzwfqrbks";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "adwaita-icon-theme"; attrPath = "gnome3.adwaita-icon-theme"; };
|
|
|
|
};
|
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
|
|
|
|
|
|
|
buildInputs = [ gdk_pixbuf librsvg ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool iconnamingutils gtk ];
|
|
|
|
|
|
|
|
# remove a tree of dirs with no files within
|
|
|
|
postInstall = '' rm -rf "$out/locale" '';
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|