git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #165216 from SebTM/update/arc_theme_20220223

arc-theme: 20211018 -> 20220223

commitff3afa5eb89c90d4ab3170c50062efbc5bc10a20 authorJosé Romildo Malaquias <malaquias@gmail.com> dateThu 24 Mar 2022, 15:57 (5 years ago) parent12e4806a06d5de
1 file changed+15−12
pkgs/data/themes/arc/default.nix+15−12
pkgs/data/themes/arc/default.nix+15−12
@@ -3,36 +3,33 @@
33, sassc
44, meson
55, ninja
6−, pkg-config
7−, gtk3
86, glib
97, gnome
108, gtk-engine-murrine
11−, optipng
129, inkscape
1310, cinnamon
11+, makeFontsConf
12+, python3
1413}:
1514
1615stdenv.mkDerivation rec {
1716 pname = "arc-theme";
18− version = "20211018";
17+ version = "20220223";
1918
2019 src = fetchFromGitHub {
2120 owner = "jnsh";
2221 repo = pname;
2322 rev = version;
24− sha256 = "1rrxm5b7l8kq1h0lm08ck54xljzm8w573mxx904n3rhdg3ri9d63";
23+ sha256 = "sha256-qsZdXDNxT1/gIlkUsC1cfVrULApC+dHreBXXjVTJQiA=";
2524 };
2625
2726 nativeBuildInputs = [
2827 meson
2928 ninja
30− pkg-config
3129 sassc
32− optipng
3330 inkscape
34− gtk3
3531 glib # for glib-compile-resources
32+ python3
3633 ];
3734
3835 propagatedUserEnvPkgs = [
@@ -40,17 +37,23 @@ stdenv.mkDerivation rec {
4037 gtk-engine-murrine
4138 ];
4239
40+ postPatch = ''
41+ patchShebangs meson/install-file.py
42+ '';
43+
4344 preBuild = ''
4445 # Shut up inkscape's warnings about creating profile directory
45− export HOME="$NIX_BUILD_ROOT"
46+ export HOME="$TMPDIR"
4647 '';
4748
49+ # Fontconfig error: Cannot load default config file: No such file: (null)
50+ FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ ]; };
51+
4852 mesonFlags = [
49− "-Dthemes=cinnamon,gnome-shell,gtk2,gtk3,plank,xfwm,metacity"
50− "-Dvariants=light,darker,dark,lighter"
53+ # "-Dthemes=cinnamon,gnome-shell,gtk2,gtk3,plank,xfwm,metacity"
54+ # "-Dvariants=light,darker,dark,lighter"
5155 "-Dcinnamon_version=${cinnamon.cinnamon-common.version}"
5256 "-Dgnome_shell_version=${gnome.gnome-shell.version}"
53− "-Dgtk3_version=${gtk3.version}"
5457 # You will need to patch gdm to make use of this.
5558 "-Dgnome_shell_gresource=true"
5659 ];