Unverified Commit 7fb56186 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #241713 from hellwolf/update-python-autobahn

python311Packages.autobahn: 22.7.1 -> 23.6.2
parents f751061a 47be8669
Loading
Loading
Loading
Loading
+5 −14
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, attrs
, argon2-cffi
, base58
@@ -21,7 +20,7 @@
, msgpack
, passlib
, py-ecc
, py-eth-sig-utils
# , py-eth-sig-utils
, py-multihash
, py-ubjson
, pynacl
@@ -49,22 +48,14 @@

buildPythonPackage rec {
  pname = "autobahn";
  version = "22.7.1";
  version = "23.6.2";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  patches = [
    (fetchpatch {
      # https://github.com/crossbario/autobahn-python/pull/1604
      url = "https://github.com/crossbario/autobahn-python/commit/ffe679fae4ebcdde964d4ee88cb82a9c65c40529.patch";
      hash = "sha256-QNnQkxMZJsFbiYUp4Os+dWo7jdCa96+kyb/2HxSMU8k=";
    })
  ];
  disabled = pythonOlder "3.9";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-i0Yuouaq1rTcDtRfuAC2y/6wMl5/5pg5B/Ei8r5KH+k=";
    hash = "sha256-7JQhxSohAzZNHvBGgDbmAZ7oT3FyHoazb+Ga1pZsEYE=";
  };

  postPatch = ''
@@ -110,7 +101,7 @@ buildPythonPackage rec {
    serialization = [ cbor2 flatbuffers msgpack ujson py-ubjson ];
    twisted = [ attrs args.twisted zope_interface ];
    ui = [ pygobject3 ];
    xbr = [ base58 cbor2 click ecdsa eth-abi jinja2 hkdf mnemonic py-ecc py-eth-sig-utils py-multihash rlp spake2 twisted /* web3 xbr */ yapf /* zlmdb */ ];
    xbr = [ base58 cbor2 click ecdsa eth-abi jinja2 hkdf mnemonic py-ecc /* py-eth-sig-utils */ py-multihash rlp spake2 twisted /* web3 xbr */ yapf /* zlmdb */ ];
  };

  meta = with lib; {