mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #118363 from prusnak/electrum
electrum: 4.0.9 -> 4.1.1
This commit is contained in:
commit
c54625d5ca
@ -1,4 +1,5 @@
|
||||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, wrapQtAppsHook
|
||||
@ -19,7 +20,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "4.0.9";
|
||||
version = "4.1.1";
|
||||
|
||||
libsecp256k1_name =
|
||||
if stdenv.isLinux then "libsecp256k1.so.0"
|
||||
@ -35,7 +36,7 @@ let
|
||||
owner = "spesmilo";
|
||||
repo = "electrum";
|
||||
rev = version;
|
||||
sha256 = "0cmdyfabllw4wnpqpdxp3l6hjnm0cvkwxn0z8ph4x54sf4zq9iz3";
|
||||
sha256 = "0zvv8nmjzw5pchykz5p28483nby4lp4ah7iqr08pv36gy89l51v5";
|
||||
|
||||
extraPostFetch = ''
|
||||
mv $out ./all
|
||||
@ -50,7 +51,7 @@ python3.pkgs.buildPythonApplication {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.electrum.org/${version}/Electrum-${version}.tar.gz";
|
||||
sha256 = "1fvjiagi78f32nxgr2rx8jas8hxfvpp1c8fpfcalvykmlhdc2gva";
|
||||
sha256 = "0yg6ld92a4xgn7y8i51hmr3kmgmrbrjwniikkmyq9q141h2drb80";
|
||||
};
|
||||
|
||||
postUnpack = ''
|
||||
@ -77,10 +78,10 @@ python3.pkgs.buildPythonApplication {
|
||||
requests
|
||||
tlslite-ng
|
||||
# plugins
|
||||
btchip
|
||||
ckcc-protocol
|
||||
keepkey
|
||||
trezor
|
||||
btchip
|
||||
] ++ lib.optionals enableQt [ pyqt5 qdarkstyle ];
|
||||
|
||||
preBuild = ''
|
||||
@ -112,7 +113,7 @@ python3.pkgs.buildPythonApplication {
|
||||
wrapQtApp $out/bin/electrum
|
||||
'';
|
||||
|
||||
checkInputs = with python3.pkgs; [ pytestCheckHook pycryptodomex ];
|
||||
checkInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ];
|
||||
|
||||
pytestFlagsArray = [ "electrum/tests" ];
|
||||
|
||||
|
@ -1,13 +1,18 @@
|
||||
{ lib, fetchPypi, buildPythonPackage, pythonOlder, attrs }:
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, attrs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiorpcx";
|
||||
version = "0.18.4";
|
||||
version = "0.18.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "aiorpcX";
|
||||
sha256 = "0jpvrkan6w8bpq017m8si7r9hb1pyw3ip4vr1fl2pmi8ngzc1jdy";
|
||||
sha256 = "808a9ec9172df11677a0f7b459b69d1a6cf8b19c19da55541fa31fb1afce5ce7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ attrs ];
|
||||
@ -17,9 +22,12 @@ buildPythonPackage rec {
|
||||
# Checks needs internet access
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
pythonImportsCheck = [ "aiorpcx" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Transport, protocol and framing-independent async RPC client and server implementation";
|
||||
license = lib.licenses.mit;
|
||||
homepage = "https://github.com/kyuupichan/aiorpcX";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ prusnak ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user