mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
electrum-grs: move to electrum/grs
This commit is contained in:
parent
a09b4ff7f8
commit
7c1eeef919
2 changed files with 11 additions and 2 deletions
|
@ -63,7 +63,13 @@ python3.pkgs.buildPythonApplication {
|
|||
qdarkstyle
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
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_grs/paymentrequest.proto
|
||||
|
||||
substituteInPlace ./electrum_grs/ecc_fast.py \
|
||||
--replace ${libsecp256k1_name} ${secp256k1}/lib/libsecp256k1${stdenv.hostPlatform.extensions.sharedLibrary}
|
||||
'' + (if enableQt then ''
|
||||
|
@ -85,6 +91,9 @@ python3.pkgs.buildPythonApplication {
|
|||
wrapQtApp $out/bin/electrum-grs
|
||||
'';
|
||||
|
||||
# the tests are currently broken
|
||||
doCheck = false;
|
||||
|
||||
postCheck = ''
|
||||
$out/bin/electrum-grs help >/dev/null
|
||||
'';
|
|
@ -28440,7 +28440,7 @@ with pkgs;
|
|||
|
||||
electrum = libsForQt5.callPackage ../applications/misc/electrum { };
|
||||
|
||||
electrum-grs = libsForQt5.callPackage ../applications/misc/electrum-grs { };
|
||||
electrum-grs = libsForQt5.callPackage ../applications/misc/electrum/grs.nix { };
|
||||
|
||||
electrum-ltc = libsForQt5.callPackage ../applications/misc/electrum/ltc.nix { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue