lol

python312Packages.curio: fix build

Upstream has no released version with Python 3.12 supported yet, but a
patch was already merged, which works fine.

+10
+10
pkgs/development/python-modules/curio/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , fetchpatch 4 5 , isPy3k 5 6 , pytestCheckHook 6 7 , sphinx ··· 17 18 inherit pname version; 18 19 hash = "sha256-VipYbbICFrp9K+gmPeuesHnlYEj5uJBtEdX0WqgcUkc="; 19 20 }; 21 + 22 + patches = [ 23 + (fetchpatch { 24 + # Add support for Python 3.12 25 + # https://github.com/dabeaz/curio/pull/363 26 + url = "https://github.com/dabeaz/curio/commit/a5590bb04de3f1f201fd1fd0ce9cfe5825db80ac.patch"; 27 + hash = "sha256-dwatxLOPAWLQSyNqJvkx6Cbl327tX9OpZXM5aaDX58I="; 28 + }) 29 + ]; 20 30 21 31 nativeCheckInputs = [ 22 32 pytestCheckHook