2021-11-15 13:34:51 +01:00
|
|
|
(pkgs: super: {
|
2022-10-04 10:15:29 +02:00
|
|
|
electrum = super.electrum.overrideAttrs (o: {
|
|
|
|
# todo: remove (194112)
|
|
|
|
postPatch = ''
|
|
|
|
# make compatible with protobuf4 by easing dependencies ...
|
|
|
|
substituteInPlace ./contrib/requirements/requirements.txt \
|
|
|
|
--replace "protobuf>=3.12,<4" "protobuf>=3.12"
|
|
|
|
# ... and regenerating the paymentrequest_pb2.py file
|
|
|
|
protoc --python_out=. electrum/paymentrequest.proto
|
2022-04-11 15:27:39 +02:00
|
|
|
|
2022-10-04 10:15:29 +02:00
|
|
|
'';
|
|
|
|
});
|
2021-11-15 13:34:51 +01:00
|
|
|
})
|