rose-pine-gtk: use nixpkgs-fmt, NoCC, and update icon cache
This commit is contained in:
parent
b92f2042a0
commit
fc0c3f5382
@ -1,9 +1,10 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
{ stdenvNoCC
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, gtk3
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "rose-pine-icon-theme";
|
||||
version = "unstable-2022-09-01";
|
||||
|
||||
@ -14,6 +15,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gtk3
|
||||
];
|
||||
|
||||
# avoid the makefile which is only for the theme maintainers
|
||||
dontBuild = true;
|
||||
|
||||
@ -25,6 +30,10 @@ stdenv.mkDerivation rec {
|
||||
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
|
||||
'';
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
gnome-themes-extra,
|
||||
gtk-engine-murrine,
|
||||
gtk_engines,
|
||||
{ stdenvNoCC
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, gnome-themes-extra
|
||||
, gtk-engine-murrine
|
||||
, gtk_engines
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "rose-pine-gtk-theme";
|
||||
version = "unstable-2022-09-01";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user