From 0cdcc2dad2ad15a53e97a6cde3cd1a70e057e4d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 1 Jun 2022 19:47:01 +0200 Subject: [PATCH] python310Packages.autobahn: 22.3.2 -> 22.4.2 --- .../python-modules/autobahn/default.nix | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/autobahn/default.nix b/pkgs/development/python-modules/autobahn/default.nix index 5fd6f1a3b8f9..83276252eee3 100644 --- a/pkgs/development/python-modules/autobahn/default.nix +++ b/pkgs/development/python-modules/autobahn/default.nix @@ -1,5 +1,6 @@ { lib , buildPythonPackage +, fetchpatch , fetchPypi , attrs , argon2-cffi @@ -47,16 +48,28 @@ buildPythonPackage rec { pname = "autobahn"; - version = "22.3.2"; + version = "22.4.2"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-WKiHx6GWuwjYtmJMs2lfSTqeXJ8A/TUNjW+Cm0f/kDY="; + sha256 = "sha256-V7es8ijVDYPPMnNyuInioWioaSdbJuF5F+0LTPTYI6Y="; }; + patches = [ + # fix txaio compatibility + (fetchpatch { + url = "https://github.com/crossbario/autobahn-python/commit/2e2ee5f9775ed312db699f5c55fc0488311735a5.patch"; + excludes = [ + "setup.py" + "tox.ini" + ]; + sha256 = "sha256-LQSusXZwDpxyQl4tphZovaYceg/JVG0SyoA9FUQlVWU="; + }) + ]; + propagatedBuildInputs = [ cryptography hyperlink