python311Packages.imageio: 2.32.0 -> 2.33.0
Changelog: https://github.com/imageio/imageio/releases/tag/v2.33.0
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, fetchFromGitHub
|
||||
, isPyPy
|
||||
, substituteAll
|
||||
|
||||
@@ -32,24 +31,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "imageio";
|
||||
version = "2.32.0";
|
||||
version = "2.33.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-5CWtNsYFMI2eptk+2nsJh5JgWbi4YiDhQqWZp5dRKN0=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "imageio";
|
||||
repo = "imageio";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-WoCycrJxo0vyV9LiWnEag1wbld3EJWu8mks8TnYt2+A=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# pillow 10.1.0 compat
|
||||
(fetchpatch {
|
||||
name = "imageio-pillow-10.1.0-compat.patch";
|
||||
url = "https://github.com/imageio/imageio/commit/f58379c1ae7fbd1da8689937b39e499e2d225740.patch";
|
||||
hash = "sha256-jPSl/EUe69Dizkv8CqWpnm+TDPtF3VX2DkHOCEuYTLA=";
|
||||
})
|
||||
] ++ lib.optionals (!stdenv.isDarwin) [
|
||||
patches = lib.optionals (!stdenv.isDarwin) [
|
||||
(substituteAll {
|
||||
src = ./libgl-path.patch;
|
||||
libgl = "${libGL.out}/lib/libGL${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||
|
||||
Reference in New Issue
Block a user