{ 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; }; }