summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2022-12-11 19:36:57 +0000
committerGitHub <noreply@github.com>2022-12-11 19:36:57 +0000
commitf434f0eceba3b6ed2492ef29d220c51e3dcd813e (patch)
treee95b51eec7953aa23ac52d569366f4be288b3209
parentMerge pull request #205390 from NixOS/backport-204867-to-release-22.11 (diff)
parentpython3.pkgs.autobahn: fix twisted compat (diff)
downloadnixpkgs-f434f0eceba3b6ed2492ef29d220c51e3dcd813e.tar.gz
Merge pull request #205667 from NixOS/backport-205663-to-release-22.11
[Backport release-22.11] python3.pkgs.autobahn: fix twisted compat
-rw-r--r--pkgs/development/python-modules/autobahn/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/autobahn/default.nix b/pkgs/development/python-modules/autobahn/default.nix
index a6e6de722744..c18d3b2bb84f 100644
--- a/pkgs/development/python-modules/autobahn/default.nix
+++ b/pkgs/development/python-modules/autobahn/default.nix
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
+, fetchpatch
, attrs
, argon2-cffi
, base58
@@ -53,6 +54,14 @@ buildPythonPackage rec {
disabled = pythonOlder "3.7";
+ patches = [
+ (fetchpatch {
+ # https://github.com/crossbario/autobahn-python/pull/1604
+ url = "https://github.com/crossbario/autobahn-python/commit/ffe679fae4ebcdde964d4ee88cb82a9c65c40529.patch";
+ sha256 = "sha256-QNnQkxMZJsFbiYUp4Os+dWo7jdCa96+kyb/2HxSMU8k=";
+ })
+ ];
+
src = fetchPypi {
inherit pname version;
sha256 = "sha256-i0Yuouaq1rTcDtRfuAC2y/6wMl5/5pg5B/Ei8r5KH+k=";