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
3
lib,
4
4
fetchFromGitHub,
5
5
}:
6
6
-
stdenv.mkDerivation rec {
7
7
-
pname = "rose-pine-icon-theme";
8
8
-
version = "unstable-2022-09-01";
6
6
+
stdenv.mkDerivation rec {
7
7
+
pname = "rose-pine-icon-theme";
8
8
+
version = "unstable-2022-09-01";
9
9
10
10
-
src = fetchFromGitHub {
11
11
-
owner = "rose-pine";
12
12
-
repo = "gtk";
13
13
-
rev = "7a4c40989fd42fd8d4a797f460c79fc4a085c304";
14
14
-
sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67";
15
15
-
};
10
10
+
src = fetchFromGitHub {
11
11
+
owner = "rose-pine";
12
12
+
repo = "gtk";
13
13
+
rev = "7a4c40989fd42fd8d4a797f460c79fc4a085c304";
14
14
+
sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67";
15
15
+
};
16
16
17
17
-
# avoid the makefile which is only for the theme maintainers
18
18
-
dontBuild = true;
17
17
+
# avoid the makefile which is only for the theme maintainers
18
18
+
dontBuild = true;
19
19
20
20
-
installPhase = ''
21
21
-
runHook preInstall
20
20
+
installPhase = ''
21
21
+
runHook preInstall
22
22
23
23
-
mkdir -p $out/share/icons
24
24
-
mv icons/rose-pine-icons $out/share/icons/rose-pine
25
25
-
mv icons/rose-pine-dawn-icons $out/share/icons/rose-pine-dawn
26
26
-
mv icons/rose-pine-moon-icons $out/share/icons/rose-pine-moon
23
23
+
mkdir -p $out/share/icons
24
24
+
mv icons/rose-pine-icons $out/share/icons/rose-pine
25
25
+
mv icons/rose-pine-dawn-icons $out/share/icons/rose-pine-dawn
26
26
+
mv icons/rose-pine-moon-icons $out/share/icons/rose-pine-moon
27
27
28
28
-
runHook postInstall
29
29
-
'';
28
28
+
runHook postInstall
29
29
+
'';
30
30
31
31
-
meta = with lib; {
32
32
-
description = "Rosé Pine icon theme for GTK";
33
33
-
homepage = "https://github.com/rose-pine/gtk";
34
34
-
license = licenses.gpl3Only;
35
35
-
platforms = platforms.linux;
36
36
-
maintainers = with maintainers; [romildo the-argus];
37
37
-
};
38
38
-
}
31
31
+
meta = with lib; {
32
32
+
description = "Rosé Pine icon theme for GTK";
33
33
+
homepage = "https://github.com/rose-pine/gtk";
34
34
+
license = licenses.gpl3Only;
35
35
+
platforms = platforms.linux;
36
36
+
maintainers = with maintainers; [romildo the-argus];
37
37
+
};
38
38
+
}
+36
-36
pkgs/data/themes/rose-pine-gtk/default.nix
···
4
4
lib,
5
5
gnome-themes-extra,
6
6
gtk-engine-murrine,
7
7
-
gtk_engines
7
7
+
gtk_engines,
8
8
}:
9
9
-
stdenv.mkDerivation rec {
10
10
-
pname = "rose-pine-${variant}-gtk-theme";
11
11
-
version = "unstable-2022-09-01";
9
9
+
stdenv.mkDerivation rec {
10
10
+
pname = "rose-pine-${variant}-gtk-theme";
11
11
+
version = "unstable-2022-09-01";
12
12
13
13
-
src = fetchFromGitHub {
14
14
-
owner = "rose-pine";
15
15
-
repo = "gtk";
16
16
-
rev = "7a4c40989fd42fd8d4a797f460c79fc4a085c304";
17
17
-
sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67";
18
18
-
};
13
13
+
src = fetchFromGitHub {
14
14
+
owner = "rose-pine";
15
15
+
repo = "gtk";
16
16
+
rev = "7a4c40989fd42fd8d4a797f460c79fc4a085c304";
17
17
+
sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67";
18
18
+
};
19
19
20
20
-
buildInputs = [
21
21
-
gnome-themes-extra # adwaita engine for Gtk2
22
22
-
gtk_engines # pixmap engine for Gtk2
23
23
-
];
20
20
+
buildInputs = [
21
21
+
gnome-themes-extra # adwaita engine for Gtk2
22
22
+
gtk_engines # pixmap engine for Gtk2
23
23
+
];
24
24
25
25
-
propagatedUserEnvPkgs = [
26
26
-
gtk-engine-murrine # murrine engine for Gtk2
27
27
-
];
25
25
+
propagatedUserEnvPkgs = [
26
26
+
gtk-engine-murrine # murrine engine for Gtk2
27
27
+
];
28
28
29
29
-
# avoid the makefile which is only for theme maintainers
30
30
-
dontBuild = true;
29
29
+
# avoid the makefile which is only for theme maintainers
30
30
+
dontBuild = true;
31
31
32
32
-
installPhase = ''
33
33
-
runHook preInstall
32
32
+
installPhase = ''
33
33
+
runHook preInstall
34
34
35
35
-
mkdir -p $out/share/themes
36
36
-
mv gtk3/rose-pine-gtk $out/share/themes/rose-pine
37
37
-
mv gtk3/rose-pine-moon-gtk $out/share/themes/rose-pine-moon
38
38
-
mv gtk3/rose-pine-dawn-gtk $out/share/themes/rose-pine-dawn
39
39
-
mv gnome_shell/moon/gnome-shell $out/share/themes/rose-pine-moon
35
35
+
mkdir -p $out/share/themes
36
36
+
mv gtk3/rose-pine-gtk $out/share/themes/rose-pine
37
37
+
mv gtk3/rose-pine-moon-gtk $out/share/themes/rose-pine-moon
38
38
+
mv gtk3/rose-pine-dawn-gtk $out/share/themes/rose-pine-dawn
39
39
+
mv gnome_shell/moon/gnome-shell $out/share/themes/rose-pine-moon
40
40
41
41
-
runHook postInstall
42
42
-
'';
41
41
+
runHook postInstall
42
42
+
'';
43
43
44
44
-
meta = with lib; {
45
45
-
description = "Rosé Pine theme for GTK";
46
46
-
homepage = "https://github.com/rose-pine/gtk";
47
47
-
license = licenses.gpl3Only;
48
48
-
platforms = platforms.linux;
49
49
-
maintainers = with maintainers; [romildo the-argus];
50
50
-
};
51
51
-
}
44
44
+
meta = with lib; {
45
45
+
description = "Rosé Pine theme for GTK";
46
46
+
homepage = "https://github.com/rose-pine/gtk";
47
47
+
license = licenses.gpl3Only;
48
48
+
platforms = platforms.linux;
49
49
+
maintainers = with maintainers; [romildo the-argus];
50
50
+
};
51
51
+
}