summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/autobahn/default.nix
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2022-06-01 19:47:01 +0200
committerSandro Jäckel <sandro.jaeckel@sap.com>2022-06-02 02:56:04 +0200
commit0cdcc2dad2ad15a53e97a6cde3cd1a70e057e4d1 (patch)
tree0ee7411757b0f42d13f0d92c8ebad48e9275f596 /pkgs/development/python-modules/autobahn/default.nix
parent06e6b81e982a74501855c49abaf5e475a2fb3b50 (diff)
python310Packages.autobahn: 22.3.2 -> 22.4.2
Diffstat (limited to 'pkgs/development/python-modules/autobahn/default.nix')
-rw-r--r--pkgs/development/python-modules/autobahn/default.nix17
1 files 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