From b8143186204f8b33b2ca6bbb96073c33d6c42e67 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 14 Oct 2024 08:19:28 +0200 Subject: [PATCH] python312Packages.imageio: 2.35.1 -> 2.36.0 Diff: https://github.com/imageio/imageio/compare/refs/tags/v2.35.1...v2.36.0 Changelog: https://github.com/imageio/imageio/blob/v2.36.0/CHANGELOG.md --- .../python-modules/imageio/default.nix | 29 +++++-------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/pkgs/development/python-modules/imageio/default.nix b/pkgs/development/python-modules/imageio/default.nix index 5e2ab8366ef3..0c489b5c30d2 100644 --- a/pkgs/development/python-modules/imageio/default.nix +++ b/pkgs/development/python-modules/imageio/default.nix @@ -2,7 +2,6 @@ lib, stdenv, buildPythonPackage, - pythonOlder, fetchFromGitHub, fetchpatch, isPyPy, @@ -33,34 +32,22 @@ buildPythonPackage rec { pname = "imageio"; - version = "2.35.1"; + version = "2.36.0"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "imageio"; repo = "imageio"; rev = "refs/tags/v${version}"; - hash = "sha256-WeoZE2TPBAhzBBcZNQqoiqvribMCLSZWk/XpdMydvCQ="; + hash = "sha256-dQrAVPXtDdibaxxfqW29qY7j5LyegvmI0Y7/btXmsyY="; }; - patches = - [ - # Fix tests failing with new enough ffmpeg - # Upstream PR: https://github.com/imageio/imageio/pull/1101 - # FIXME: remove when merged - (fetchpatch { - url = "https://github.com/imageio/imageio/commit/8d1bea4b560f3aa10ed2d250e483173f488f50fe.patch"; - hash = "sha256-68CzSoJzbr21N97gWu5qVYh6QeBS9zon8XmytcVK89c="; - }) - ] - ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ - (substituteAll { - src = ./libgl-path.patch; - libgl = "${libGL.out}/lib/libGL${stdenv.hostPlatform.extensions.sharedLibrary}"; - }) - ]; + patches = lib.optionals (!stdenv.hostPlatform.isDarwin) [ + (substituteAll { + src = ./libgl-path.patch; + libgl = "${libGL.out}/lib/libGL${stdenv.hostPlatform.extensions.sharedLibrary}"; + }) + ]; build-system = [ setuptools ];