3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #165216 from SebTM/update/arc_theme_20220223

arc-theme: 20211018 -> 20220223
This commit is contained in:
José Romildo Malaquias 2022-03-24 15:57:25 -03:00 committed by GitHub
commit ff3afa5eb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,36 +3,33 @@
, sassc
, meson
, ninja
, pkg-config
, gtk3
, glib
, gnome
, gtk-engine-murrine
, optipng
, inkscape
, cinnamon
, makeFontsConf
, python3
}:
stdenv.mkDerivation rec {
pname = "arc-theme";
version = "20211018";
version = "20220223";
src = fetchFromGitHub {
owner = "jnsh";
repo = pname;
rev = version;
sha256 = "1rrxm5b7l8kq1h0lm08ck54xljzm8w573mxx904n3rhdg3ri9d63";
sha256 = "sha256-qsZdXDNxT1/gIlkUsC1cfVrULApC+dHreBXXjVTJQiA=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
sassc
optipng
inkscape
gtk3
glib # for glib-compile-resources
python3
];
propagatedUserEnvPkgs = [
@ -40,17 +37,23 @@ stdenv.mkDerivation rec {
gtk-engine-murrine
];
preBuild = ''
# Shut up inkscape's warnings about creating profile directory
export HOME="$NIX_BUILD_ROOT"
postPatch = ''
patchShebangs meson/install-file.py
'';
preBuild = ''
# Shut up inkscape's warnings about creating profile directory
export HOME="$TMPDIR"
'';
# Fontconfig error: Cannot load default config file: No such file: (null)
FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ ]; };
mesonFlags = [
"-Dthemes=cinnamon,gnome-shell,gtk2,gtk3,plank,xfwm,metacity"
"-Dvariants=light,darker,dark,lighter"
# "-Dthemes=cinnamon,gnome-shell,gtk2,gtk3,plank,xfwm,metacity"
# "-Dvariants=light,darker,dark,lighter"
"-Dcinnamon_version=${cinnamon.cinnamon-common.version}"
"-Dgnome_shell_version=${gnome.gnome-shell.version}"
"-Dgtk3_version=${gtk3.version}"
# You will need to patch gdm to make use of this.
"-Dgnome_shell_gresource=true"
];