diff options
Diffstat (limited to 'pkgs/desktops/gnome-3/core/adwaita-icon-theme')
-rw-r--r-- | pkgs/desktops/gnome-3/core/adwaita-icon-theme/default.nix | 21 | ||||
-rw-r--r-- | pkgs/desktops/gnome-3/core/adwaita-icon-theme/src.nix | 10 |
2 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome-3/core/adwaita-icon-theme/default.nix b/pkgs/desktops/gnome-3/core/adwaita-icon-theme/default.nix new file mode 100644 index 000000000000..62cc4da6ba14 --- /dev/null +++ b/pkgs/desktops/gnome-3/core/adwaita-icon-theme/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, pkgconfig, intltool, gnome3 +, iconnamingutils, gtk, gdk_pixbuf, librsvg, hicolor_icon_theme }: + +stdenv.mkDerivation rec { + inherit (import ./src.nix fetchurl) name src; + + # 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" ''; + + meta = with stdenv.lib; { + platforms = with platforms; linux ++ darwin; + maintainers = gnome3.maintainers; + }; +} diff --git a/pkgs/desktops/gnome-3/core/adwaita-icon-theme/src.nix b/pkgs/desktops/gnome-3/core/adwaita-icon-theme/src.nix new file mode 100644 index 000000000000..5700cb56913f --- /dev/null +++ b/pkgs/desktops/gnome-3/core/adwaita-icon-theme/src.nix @@ -0,0 +1,10 @@ +# Autogenerated by maintainers/scripts/gnome.sh update + +fetchurl: { + name = "adwaita-icon-theme-3.24.0"; + + src = fetchurl { + url = mirror://gnome/sources/adwaita-icon-theme/3.24/adwaita-icon-theme-3.24.0.tar.xz; + sha256 = "ccf79ff3bd340254737ce4d28b87f0ccee4b3358cd3cd5cd11dc7b42f41b272a"; + }; +} |