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