depot/third_party/nixpkgs/pkgs/by-name/gn/gnome-themes-extra/package.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

33 lines
937 B
Nix

{ lib, stdenv, fetchurl, intltool, gtk3, gnome, adwaita-icon-theme, librsvg, pkg-config, pango, atk, gtk2
, gdk-pixbuf, hicolor-icon-theme }:
stdenv.mkDerivation rec {
pname = "gnome-themes-extra";
version = "3.28";
src = fetchurl {
url = "mirror://gnome/sources/gnome-themes-extra/${lib.versions.majorMinor version}/gnome-themes-extra-${version}.tar.xz";
sha256 = "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw";
};
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
};
};
nativeBuildInputs = [ pkg-config intltool gtk3 ];
buildInputs = [ gtk3 librsvg pango atk gtk2 gdk-pixbuf ];
propagatedBuildInputs = [ adwaita-icon-theme hicolor-icon-theme ];
dontDropIconThemeCache = true;
postInstall = ''
gtk-update-icon-cache "$out"/share/icons/HighContrast
'';
meta = with lib; {
platforms = platforms.unix;
maintainers = teams.gnome.members;
};
}