35 lines
1015 B
Nix
35 lines
1015 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, gnome3
|
|
, iconnamingutils, gtk, gdk_pixbuf, librsvg, hicolor-icon-theme }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "adwaita-icon-theme-${version}";
|
|
version = "3.30.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/adwaita-icon-theme/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "1kp1lis3dr16jmlgycz1b29jsr6ir8wmqj6laqwlhs663cmjlxbd";
|
|
};
|
|
|
|
# For convenience, we can specify adwaita-icon-theme only in packages
|
|
propagatedBuildInputs = [ hicolor-icon-theme ];
|
|
|
|
buildInputs = [ gdk_pixbuf librsvg ];
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool iconnamingutils gtk ];
|
|
|
|
# remove a tree of dirs with no files within
|
|
postInstall = '' rm -rf "$out/locale" '';
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = "adwaita-icon-theme";
|
|
attrPath = "gnome3.adwaita-icon-theme";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
platforms = with platforms; linux ++ darwin;
|
|
maintainers = gnome3.maintainers;
|
|
};
|
|
}
|