electrum-grs 4.4.4 -> 4.5.4

This commit is contained in:
gruve-p 2024-03-19 20:41:37 +01:00
parent a5c5309799
commit 2c201af5f9
No known key found for this signature in database
GPG key ID: D11BD4F33F1DB499

View file

@ -10,7 +10,7 @@
}:
let
version = "4.4.4";
version = "4.5.4";
libsecp256k1_name =
if stdenv.isLinux then "libsecp256k1.so.{v}"
@ -32,11 +32,11 @@ python3.pkgs.buildPythonApplication {
owner = "Groestlcoin";
repo = "electrum-grs";
rev = "refs/tags/v${version}";
sha256 = "0fl01qdvb1z6l6kwipj1lj0qmjk3mzw25wv7yh5j1hh1f5lng0s8";
sha256 = "1k078jg3bw4n3kcxy917m30x1skxm679w8hcw8mlxb94ikrjc66h";
};
nativeBuildInputs = lib.optionals enableQt [ wrapQtAppsHook ];
buildInputs = lib.optional stdenv.isLinux qtwayland;
buildInputs = lib.optional (stdenv.isLinux && enableQt) qtwayland;
propagatedBuildInputs = with python3.pkgs; [
aiohttp
@ -56,17 +56,25 @@ python3.pkgs.buildPythonApplication {
requests
tlslite-ng
certifi
jsonpatch
# plugins
btchip-python
ledger-bitcoin
ckcc-protocol
keepkey
trezor
bitbox02
cbor
pyserial
] ++ lib.optionals enableQt [
pyqt5
qdarkstyle
];
checkInputs = with python3.pkgs; lib.optionals enableQt [
pyqt6
];
postPatch = ''
# make compatible with protobuf4 by easing dependencies ...
substituteInPlace ./contrib/requirements/requirements.txt \
@ -104,7 +112,6 @@ python3.pkgs.buildPythonApplication {
meta = with lib; {
description = "Lightweight Groestlcoin wallet";
mainProgram = "electrum-grs";
longDescription = ''
An easy-to-use Groestlcoin client featuring wallets generated from
mnemonic seeds (in addition to other, more advanced, wallet options)
@ -116,5 +123,6 @@ python3.pkgs.buildPythonApplication {
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ gruve-p ];
mainProgram = "electrum-grs";
};
}