mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Merge pull request #208903 from the-argus/bump/rose-pine-gtk
[rose-pine-gtk] unstable-2021-02-22 -> unstable-2022-09-01 (new variants)
This commit is contained in:
commit
337feb19fc
@ -14055,6 +14055,13 @@
|
||||
fingerprint = "D2A2 F0A1 E7A8 5E6F B711 DEE5 63A4 4817 A52E AB7B";
|
||||
}];
|
||||
};
|
||||
the-argus = {
|
||||
email = "i.mcfarlane2002@gmail.com";
|
||||
github = "the-argus";
|
||||
name = "Ian McFarlane";
|
||||
githubId = 70479099;
|
||||
matrix = "@eyes1238:matrix.org";
|
||||
};
|
||||
TheBrainScrambler = {
|
||||
email = "esthromeris@riseup.net";
|
||||
github = "TheBrainScrambler";
|
||||
|
47
pkgs/data/icons/rose-pine/default.nix
Normal file
47
pkgs/data/icons/rose-pine/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ stdenvNoCC
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, gtk3
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
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];
|
||||
};
|
||||
}
|
@ -1,20 +1,20 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
{ stdenvNoCC
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, gnome-themes-extra
|
||||
, gtk-engine-murrine
|
||||
, gtk_engines
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "rose-pine-gtk-theme";
|
||||
version = "unstable-2021-02-22";
|
||||
version = "unstable-2022-09-01";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rose-pine";
|
||||
repo = "gtk";
|
||||
rev = "9cd2dd449f911973ec549231a57a070d256da9fd";
|
||||
sha256 = "0lqx8dmv754ix3xbg7h440x964n0bg4lb06vbzvsydnbx79h7lvy";
|
||||
rev = "7a4c40989fd42fd8d4a797f460c79fc4a085c304";
|
||||
sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@ -26,11 +26,18 @@ stdenv.mkDerivation rec {
|
||||
gtk-engine-murrine # murrine engine for Gtk2
|
||||
];
|
||||
|
||||
# avoid the makefile which is only for theme maintainers
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/themes
|
||||
cp -a Rose-Pine $out/share/themes
|
||||
rm $out/share/themes/*/LICENSE
|
||||
mv gtk3/rose-pine-gtk $out/share/themes/rose-pine
|
||||
mv gtk3/rose-pine-moon-gtk $out/share/themes/rose-pine-moon
|
||||
mv gtk3/rose-pine-dawn-gtk $out/share/themes/rose-pine-dawn
|
||||
mv gnome_shell/moon/gnome-shell $out/share/themes/rose-pine-moon
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
@ -39,6 +46,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://github.com/rose-pine/gtk";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.romildo ];
|
||||
maintainers = with maintainers; [romildo the-argus];
|
||||
};
|
||||
}
|
||||
|
@ -27404,6 +27404,7 @@ with pkgs;
|
||||
roapi-http = callPackage ../servers/roapi/http.nix { };
|
||||
|
||||
rose-pine-gtk-theme = callPackage ../data/themes/rose-pine-gtk { };
|
||||
rose-pine-icon-theme = callPackage ../data/icons/rose-pine { };
|
||||
|
||||
route159 = callPackage ../data/fonts/route159 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user