variety: 0.8.13 -> 0.9.0-b1
Adds support for COSMIC desktop environment, KDE Active Blur wallpaper plugin, and WebP image format. Also fixes Python 3.14 compatibility. Release notes: https://github.com/varietywalls/variety/releases/tag/0.9.0-b1
This commit is contained in:
@@ -22,14 +22,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "variety";
|
||||
version = "0.8.13";
|
||||
version = "0.9.0-b1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "varietywalls";
|
||||
repo = "variety";
|
||||
tag = version;
|
||||
hash = "sha256-7CTJ3hWddbOX/UfZ1qX9rPNGTfkxQ4pxu23sq9ulgv4=";
|
||||
hash = "sha256-uDQZfWY0RuTsdD/IxpjzSTMMtNq632VAwAjB+CeUIbw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -47,7 +47,10 @@ python3Packages.buildPythonApplication rec {
|
||||
]
|
||||
++ lib.optional appindicatorSupport libayatana-appindicator;
|
||||
|
||||
build-system = with python3Packages; [ setuptools ];
|
||||
build-system = with python3Packages; [
|
||||
setuptools
|
||||
setuptools-gettext
|
||||
];
|
||||
|
||||
dependencies =
|
||||
with python3Packages;
|
||||
@@ -77,12 +80,10 @@ python3Packages.buildPythonApplication rec {
|
||||
'';
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace variety_lib/varietyconfig.py \
|
||||
--replace-fail "__variety_data_directory__ = \"../data\"" \
|
||||
"__variety_data_directory__ = \"$out/share/variety\""
|
||||
substituteInPlace variety/VarietyWindow.py \
|
||||
--replace-fail '[script,' '["${runtimeShell}", script,' \
|
||||
--replace-fail 'check_output(script)' 'check_output(["${runtimeShell}", script])'
|
||||
--replace-fail 'check_output(script)' 'check_output(["${runtimeShell}", script])' \
|
||||
--replace-fail 'os.stat(path).st_mode | stat.S_IEXEC' 'os.stat(path).st_mode | stat.S_IEXEC | stat.S_IWUSR'
|
||||
substituteInPlace data/variety-autostart.desktop.template \
|
||||
--replace-fail "/bin/bash" "${lib.getExe bash}" \
|
||||
--replace-fail "{VARIETY_PATH}" "variety"
|
||||
|
||||
Reference in New Issue
Block a user