depot/third_party/nixpkgs/pkgs/data/icons/numix-icon-theme/default.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

62 lines
1.2 KiB
Nix

{
lib,
stdenvNoCC,
fetchFromGitHub,
gtk3,
adwaita-icon-theme,
breeze-icons,
gnome-icon-theme,
hicolor-icon-theme,
gitUpdater,
}:
stdenvNoCC.mkDerivation rec {
pname = "numix-icon-theme";
version = "25.01.31";
src = fetchFromGitHub {
owner = "numixproject";
repo = pname;
rev = version;
sha256 = "sha256-LON73XRVZQxbEMJ32qKXU/TYf6Q8nWU9wms7eT/DHa8=";
};
nativeBuildInputs = [
gtk3
];
propagatedBuildInputs = [
adwaita-icon-theme
breeze-icons
gnome-icon-theme
hicolor-icon-theme
];
dontDropIconThemeCache = true;
installPhase = ''
runHook preInstall
substituteInPlace Numix/index.theme --replace Breeze breeze
mkdir -p $out/share/icons
cp -a Numix{,-Light} $out/share/icons/
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
runHook postInstall
'';
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Numix icon theme";
homepage = "https://numixproject.github.io";
license = licenses.gpl3Only;
# darwin cannot deal with file names differing only in case
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}