arc-theme: 20211018 -> 20220223

This commit is contained in:
Sebastian Sellmeier 2022-03-22 06:27:45 +01:00
parent 077f078a01
commit a06d5deedc
No known key found for this signature in database
GPG key ID: 51E2BE0CCC826F98

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"
];