tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
rose-pine-gtk: format
Ian McFarlane
3 years ago
e02cd8e9
ab43cc69
+63
-63
2 changed files
expand all
collapse all
unified
split
pkgs
data
icons
rose-pine
default.nix
themes
rose-pine-gtk
default.nix
+27
-27
pkgs/data/icons/rose-pine/default.nix
···
3
lib,
4
fetchFromGitHub,
5
}:
6
-
stdenv.mkDerivation rec {
7
-
pname = "rose-pine-icon-theme";
8
-
version = "unstable-2022-09-01";
9
10
-
src = fetchFromGitHub {
11
-
owner = "rose-pine";
12
-
repo = "gtk";
13
-
rev = "7a4c40989fd42fd8d4a797f460c79fc4a085c304";
14
-
sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67";
15
-
};
16
17
-
# avoid the makefile which is only for the theme maintainers
18
-
dontBuild = true;
19
20
-
installPhase = ''
21
-
runHook preInstall
22
23
-
mkdir -p $out/share/icons
24
-
mv icons/rose-pine-icons $out/share/icons/rose-pine
25
-
mv icons/rose-pine-dawn-icons $out/share/icons/rose-pine-dawn
26
-
mv icons/rose-pine-moon-icons $out/share/icons/rose-pine-moon
27
28
-
runHook postInstall
29
-
'';
30
31
-
meta = with lib; {
32
-
description = "Rosé Pine icon theme for GTK";
33
-
homepage = "https://github.com/rose-pine/gtk";
34
-
license = licenses.gpl3Only;
35
-
platforms = platforms.linux;
36
-
maintainers = with maintainers; [romildo the-argus];
37
-
};
38
-
}
···
3
lib,
4
fetchFromGitHub,
5
}:
6
+
stdenv.mkDerivation rec {
7
+
pname = "rose-pine-icon-theme";
8
+
version = "unstable-2022-09-01";
9
10
+
src = fetchFromGitHub {
11
+
owner = "rose-pine";
12
+
repo = "gtk";
13
+
rev = "7a4c40989fd42fd8d4a797f460c79fc4a085c304";
14
+
sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67";
15
+
};
16
17
+
# avoid the makefile which is only for the theme maintainers
18
+
dontBuild = true;
19
20
+
installPhase = ''
21
+
runHook preInstall
22
23
+
mkdir -p $out/share/icons
24
+
mv icons/rose-pine-icons $out/share/icons/rose-pine
25
+
mv icons/rose-pine-dawn-icons $out/share/icons/rose-pine-dawn
26
+
mv icons/rose-pine-moon-icons $out/share/icons/rose-pine-moon
27
28
+
runHook postInstall
29
+
'';
30
31
+
meta = with lib; {
32
+
description = "Rosé Pine icon theme for GTK";
33
+
homepage = "https://github.com/rose-pine/gtk";
34
+
license = licenses.gpl3Only;
35
+
platforms = platforms.linux;
36
+
maintainers = with maintainers; [romildo the-argus];
37
+
};
38
+
}
+36
-36
pkgs/data/themes/rose-pine-gtk/default.nix
···
4
lib,
5
gnome-themes-extra,
6
gtk-engine-murrine,
7
-
gtk_engines
8
}:
9
-
stdenv.mkDerivation rec {
10
-
pname = "rose-pine-${variant}-gtk-theme";
11
-
version = "unstable-2022-09-01";
12
13
-
src = fetchFromGitHub {
14
-
owner = "rose-pine";
15
-
repo = "gtk";
16
-
rev = "7a4c40989fd42fd8d4a797f460c79fc4a085c304";
17
-
sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67";
18
-
};
19
20
-
buildInputs = [
21
-
gnome-themes-extra # adwaita engine for Gtk2
22
-
gtk_engines # pixmap engine for Gtk2
23
-
];
24
25
-
propagatedUserEnvPkgs = [
26
-
gtk-engine-murrine # murrine engine for Gtk2
27
-
];
28
29
-
# avoid the makefile which is only for theme maintainers
30
-
dontBuild = true;
31
32
-
installPhase = ''
33
-
runHook preInstall
34
35
-
mkdir -p $out/share/themes
36
-
mv gtk3/rose-pine-gtk $out/share/themes/rose-pine
37
-
mv gtk3/rose-pine-moon-gtk $out/share/themes/rose-pine-moon
38
-
mv gtk3/rose-pine-dawn-gtk $out/share/themes/rose-pine-dawn
39
-
mv gnome_shell/moon/gnome-shell $out/share/themes/rose-pine-moon
40
41
-
runHook postInstall
42
-
'';
43
44
-
meta = with lib; {
45
-
description = "Rosé Pine theme for GTK";
46
-
homepage = "https://github.com/rose-pine/gtk";
47
-
license = licenses.gpl3Only;
48
-
platforms = platforms.linux;
49
-
maintainers = with maintainers; [romildo the-argus];
50
-
};
51
-
}
···
4
lib,
5
gnome-themes-extra,
6
gtk-engine-murrine,
7
+
gtk_engines,
8
}:
9
+
stdenv.mkDerivation rec {
10
+
pname = "rose-pine-${variant}-gtk-theme";
11
+
version = "unstable-2022-09-01";
12
13
+
src = fetchFromGitHub {
14
+
owner = "rose-pine";
15
+
repo = "gtk";
16
+
rev = "7a4c40989fd42fd8d4a797f460c79fc4a085c304";
17
+
sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67";
18
+
};
19
20
+
buildInputs = [
21
+
gnome-themes-extra # adwaita engine for Gtk2
22
+
gtk_engines # pixmap engine for Gtk2
23
+
];
24
25
+
propagatedUserEnvPkgs = [
26
+
gtk-engine-murrine # murrine engine for Gtk2
27
+
];
28
29
+
# avoid the makefile which is only for theme maintainers
30
+
dontBuild = true;
31
32
+
installPhase = ''
33
+
runHook preInstall
34
35
+
mkdir -p $out/share/themes
36
+
mv gtk3/rose-pine-gtk $out/share/themes/rose-pine
37
+
mv gtk3/rose-pine-moon-gtk $out/share/themes/rose-pine-moon
38
+
mv gtk3/rose-pine-dawn-gtk $out/share/themes/rose-pine-dawn
39
+
mv gnome_shell/moon/gnome-shell $out/share/themes/rose-pine-moon
40
41
+
runHook postInstall
42
+
'';
43
44
+
meta = with lib; {
45
+
description = "Rosé Pine theme for GTK";
46
+
homepage = "https://github.com/rose-pine/gtk";
47
+
license = licenses.gpl3Only;
48
+
platforms = platforms.linux;
49
+
maintainers = with maintainers; [romildo the-argus];
50
+
};
51
+
}