nixpkgs/pkgs/by-name/gn/gnome-themes-extra/package.nix
nicoo 2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00

34 lines
934 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";
hash = "sha256-fEugv/AB8G2Jg8/BBa2qxC3x0SZ6JZF5ingLrFV6WBk=";
};
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;
};
}