Merge branch 'master' into staging

This commit is contained in:
Vladimír Čunát
2019-09-02 23:25:24 +02:00
277 changed files with 4766 additions and 1895 deletions
+8 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchFromGitHub, python3, python3Packages, zbar, secp256k1
{ stdenv, fetchurl, fetchFromGitHub, wrapQtAppsHook, python3, python3Packages, zbar, secp256k1
, enableQt ? !stdenv.isDarwin
@@ -54,6 +54,8 @@ python3Packages.buildPythonApplication {
cp -ar ${tests} $sourceRoot/electrum/tests
'';
nativeBuildInputs = stdenv.lib.optionals enableQt [ wrapQtAppsHook ];
propagatedBuildInputs = with python3Packages; [
aiorpcx
aiohttp
@@ -102,6 +104,11 @@ python3Packages.buildPythonApplication {
"Exec=$out/bin/electrum %u" \
--replace 'Exec=sh -c "PATH=\"\\$HOME/.local/bin:\\$PATH\"; electrum --testnet %u"' \
"Exec=$out/bin/electrum --testnet %u"
'';
postFixup = stdenv.lib.optionalString enableQt ''
wrapQtApp $out/bin/electrum
'';
checkInputs = with python3Packages; [ pytest ];