9f92453b6e
https://ftp.gnome.org/pub/GNOME/sources/adwaita-icon-theme/41/adwaita-icon-theme-41.0.news
37 lines
1.0 KiB
Nix
37 lines
1.0 KiB
Nix
{ lib, stdenv, fetchurl, pkg-config, intltool, gnome
|
|
, iconnamingutils, gtk3, gdk-pixbuf, librsvg, hicolor-icon-theme }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "adwaita-icon-theme";
|
|
version = "41.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/adwaita-icon-theme/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
|
sha256 = "71M52MNfytXRBIG3BICAPw+iCz08vDOSOPys7q7gHro=";
|
|
};
|
|
|
|
# For convenience, we can specify adwaita-icon-theme only in packages
|
|
propagatedBuildInputs = [ hicolor-icon-theme ];
|
|
|
|
buildInputs = [ gdk-pixbuf librsvg ];
|
|
|
|
nativeBuildInputs = [ pkg-config intltool iconnamingutils gtk3 ];
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
# remove a tree of dirs with no files within
|
|
postInstall = '' rm -rf "$out/locale" '';
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = "adwaita-icon-theme";
|
|
attrPath = "gnome.adwaita-icon-theme";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
platforms = with platforms; linux ++ darwin;
|
|
maintainers = teams.gnome.members;
|
|
};
|
|
}
|