python311Packages.autobahn: 22.7.1 -> 23.6.2

* Fixes:
 - remove the problematic extra dependency of `py-eth-sig-utils`
* Changed:
 - `disabled = pythonOlder "3.9"` in accordance with the upstream
This commit is contained in:
Miao, ZhiCheng 2023-07-05 19:07:23 +03:00
parent a5ca6a0f2e
commit 47be8669da
No known key found for this signature in database
GPG Key ID: 1080B4863AD0F5D1

View File

@ -1,7 +1,6 @@
{ 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; {