From dd9fbe8a6ad5c67d8a4d7793b76bd1a29a3de545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 21 Nov 2023 01:42:20 -0800 Subject: [PATCH] python311Packages.yarl: 1.9.2 -> 1.9.3 Changelog: https://github.com/aio-libs/yarl/blob/v1.9.3/CHANGES.rst --- .../python-modules/yarl/default.nix | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/yarl/default.nix b/pkgs/development/python-modules/yarl/default.nix index c4d8dac9995c2..ab851d19adac6 100644 --- a/pkgs/development/python-modules/yarl/default.nix +++ b/pkgs/development/python-modules/yarl/default.nix @@ -1,9 +1,10 @@ { lib , buildPythonPackage , fetchPypi -, fetchpatch -, pythonAtLeast , pythonOlder +, cython +, expandvars +, setuptools , idna , multidict , typing-extensions @@ -12,29 +13,27 @@ buildPythonPackage rec { pname = "yarl"; - version = "1.9.2"; + version = "1.9.3"; disabled = pythonOlder "3.7"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-BKudS59YfAbYAcKr/pMXt3zfmWxlqQ1ehOzEUBCCNXE="; + hash = "sha256-ShSQe1l+xVdA9j5S1/7g6e4J1bnVek85mnQjJo5Fe1c="; }; - patches = [ - # https://github.com/aio-libs/yarl/issues/876 - (fetchpatch { - url = "https://github.com/aio-libs/yarl/commit/0a94c6e4948e00fff072c0cf367afbf4ac36f906.patch"; - hash = "sha256-bqT46OLZLkBef8FQ1L95ITD70mC3+WIkr3+h2ekKrvE="; - }) - ]; - postPatch = '' sed -i '/^addopts/d' setup.cfg ''; + nativeBuildInputs = [ + cython + expandvars + setuptools + ]; + propagatedBuildInputs = [ idna multidict