diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-07-27 19:49:32 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-07-27 11:14:35 -0700 |
commit | 93b1ba9a94d68c7960244345a395986f3fe1469b (patch) | |
tree | 86baed02fa880f9507615c7b74691a84197e20d8 /pkgs/applications | |
parent | 8560fdb9072b29d62b18f7a875df0d940c67e67e (diff) | |
download | nixlib-93b1ba9a94d68c7960244345a395986f3fe1469b.tar nixlib-93b1ba9a94d68c7960244345a395986f3fe1469b.tar.gz nixlib-93b1ba9a94d68c7960244345a395986f3fe1469b.tar.bz2 nixlib-93b1ba9a94d68c7960244345a395986f3fe1469b.tar.lz nixlib-93b1ba9a94d68c7960244345a395986f3fe1469b.tar.xz nixlib-93b1ba9a94d68c7960244345a395986f3fe1469b.tar.zst nixlib-93b1ba9a94d68c7960244345a395986f3fe1469b.zip |
electrum: override aiorpcx
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/misc/electrum/default.nix | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/pkgs/applications/misc/electrum/default.nix b/pkgs/applications/misc/electrum/default.nix index 28c965a72b5c..f722b2315c00 100644 --- a/pkgs/applications/misc/electrum/default.nix +++ b/pkgs/applications/misc/electrum/default.nix @@ -43,6 +43,20 @@ let mv ./all/electrum/tests $out ''; }; + + py = python3.override { + packageOverrides = self: super: { + + aiorpcx = super.aiorpcx.overridePythonAttrs (oldAttrs: rec { + version = "0.18.7"; + src = oldAttrs.src.override { + inherit version; + sha256 = "1rswrspv27x33xa5bnhrkjqzhv0sknv5kd7pl1vidw9d2z4rx2l0"; + }; + }); + }; + }; + in python3.pkgs.buildPythonApplication { @@ -66,7 +80,7 @@ python3.pkgs.buildPythonApplication { nativeBuildInputs = lib.optionals enableQt [ wrapQtAppsHook ]; - propagatedBuildInputs = with python3.pkgs; [ + propagatedBuildInputs = with py.pkgs; [ aiohttp aiohttp-socks aiorpcx @@ -87,7 +101,10 @@ python3.pkgs.buildPythonApplication { ckcc-protocol keepkey trezor - ] ++ lib.optionals enableQt [ pyqt5 qdarkstyle ]; + ] ++ lib.optionals enableQt [ + pyqt5 + qdarkstyle + ]; preBuild = '' sed -i 's,usr_share = .*,usr_share = "'$out'/share",g' setup.py |