rose-pine-gtk-theme: init at unstable-2021-02-22

This commit is contained in:
José Romildo 2021-11-16 22:23:04 -03:00
parent 15e5f8ba8e
commit ec2380759a
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ stdenv
, fetchFromGitHub
, lib
, gnome-themes-extra
, gtk-engine-murrine
, gtk_engines
}:
stdenv.mkDerivation rec {
pname = "rose-pine-gtk-theme";
version = "unstable-2021-02-22";
src = fetchFromGitHub {
owner = "rose-pine";
repo = "gtk";
rev = "9cd2dd449f911973ec549231a57a070d256da9fd";
sha256 = "0lqx8dmv754ix3xbg7h440x964n0bg4lb06vbzvsydnbx79h7lvy";
};
buildInputs = [
gnome-themes-extra # adwaita engine for Gtk2
gtk_engines # pixmap engine for Gtk2
];
propagatedUserEnvPkgs = [
gtk-engine-murrine # murrine engine for Gtk2
];
installPhase = ''
runHook preInstall
mkdir -p $out/share/themes
cp -a Rose-Pine $out/share/themes
rm $out/share/themes/*/LICENSE
runHook postInstall
'';
meta = with lib; {
description = "Rosé Pine theme for GTK";
homepage = "https://github.com/rose-pine/gtk";
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}

View File

@ -23488,6 +23488,8 @@ with pkgs;
rime-data = callPackage ../data/misc/rime-data { };
rose-pine-gtk-theme = callPackage ../data/themes/rose-pine-gtk { };
route159 = callPackage ../data/fonts/route159 { };
sampradaya = callPackage ../data/fonts/sampradaya { };