From ed2a8f4a60e5438622a8296d900a4a8a46f3cf73 Mon Sep 17 00:00:00 2001 From: William Fish Date: Tue, 27 Jan 2026 16:53:49 +0000 Subject: [PATCH] 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 --- pkgs/by-name/va/variety/package.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/va/variety/package.nix b/pkgs/by-name/va/variety/package.nix index d90041e44381..e344922b9ccb 100644 --- a/pkgs/by-name/va/variety/package.nix +++ b/pkgs/by-name/va/variety/package.nix @@ -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"