Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

52 lines
1.1 KiB
Nix

{
stdenvNoCC,
lib,
fetchFromGitHub,
gtk3,
}:
stdenvNoCC.mkDerivation {
pname = "rose-pine-icon-theme";
version = "unstable-2022-09-01";
src = fetchFromGitHub {
owner = "rose-pine";
repo = "gtk";
rev = "7a4c40989fd42fd8d4a797f460c79fc4a085c304";
sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67";
};
nativeBuildInputs = [
gtk3
];
# avoid the makefile which is only for the theme maintainers
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons
mv icons/rose-pine-icons $out/share/icons/rose-pine
mv icons/rose-pine-dawn-icons $out/share/icons/rose-pine-dawn
mv icons/rose-pine-moon-icons $out/share/icons/rose-pine-moon
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
runHook postInstall
'';
meta = with lib; {
description = "Rosé Pine icon theme for GTK";
homepage = "https://github.com/rose-pine/gtk";
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = with maintainers; [
romildo
the-argus
];
};
}