Loading pkgs/applications/misc/electrum/default.nix +21 −4 Original line number Diff line number Diff line Loading @@ -9,11 +9,28 @@ , enableQt ? true , callPackage , qtwayland , fetchPypi }: let version = "4.5.3"; python = python3.override { self = python; packageOverrides = self: super: { # Pin ledger-bitcoin to 0.2.1 ledger-bitcoin = super.ledger-bitcoin.overridePythonAttrs (oldAttrs: rec { version = "0.2.1"; format = "pyproject"; src = fetchPypi { pname = "ledger_bitcoin"; inherit version; hash = "sha256-AWl/q2MzzspNIo6yf30S92PgM/Ygsb+1lJsg7Asztso="; }; }); }; }; libsecp256k1_name = if stdenv.isLinux then "libsecp256k1.so.{v}" else if stdenv.isDarwin then "libsecp256k1.{v}.dylib" Loading @@ -39,7 +56,7 @@ let in python3.pkgs.buildPythonApplication { python.pkgs.buildPythonApplication { pname = "electrum"; inherit version; Loading @@ -56,7 +73,7 @@ python3.pkgs.buildPythonApplication { nativeBuildInputs = lib.optionals enableQt [ wrapQtAppsHook ]; buildInputs = lib.optional (stdenv.isLinux && enableQt) qtwayland; propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python.pkgs; [ aiohttp aiohttp-socks aiorpcx Loading Loading @@ -85,7 +102,7 @@ python3.pkgs.buildPythonApplication { qdarkstyle ]; checkInputs = with python3.pkgs; lib.optionals enableQt [ checkInputs = with python.pkgs; lib.optionals enableQt [ pyqt6 ]; Loading Loading @@ -117,7 +134,7 @@ python3.pkgs.buildPythonApplication { wrapQtApp $out/bin/electrum ''; nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ]; nativeCheckInputs = with python.pkgs; [ pytestCheckHook pyaes pycryptodomex ]; pytestFlagsArray = [ "tests" ]; Loading Loading
pkgs/applications/misc/electrum/default.nix +21 −4 Original line number Diff line number Diff line Loading @@ -9,11 +9,28 @@ , enableQt ? true , callPackage , qtwayland , fetchPypi }: let version = "4.5.3"; python = python3.override { self = python; packageOverrides = self: super: { # Pin ledger-bitcoin to 0.2.1 ledger-bitcoin = super.ledger-bitcoin.overridePythonAttrs (oldAttrs: rec { version = "0.2.1"; format = "pyproject"; src = fetchPypi { pname = "ledger_bitcoin"; inherit version; hash = "sha256-AWl/q2MzzspNIo6yf30S92PgM/Ygsb+1lJsg7Asztso="; }; }); }; }; libsecp256k1_name = if stdenv.isLinux then "libsecp256k1.so.{v}" else if stdenv.isDarwin then "libsecp256k1.{v}.dylib" Loading @@ -39,7 +56,7 @@ let in python3.pkgs.buildPythonApplication { python.pkgs.buildPythonApplication { pname = "electrum"; inherit version; Loading @@ -56,7 +73,7 @@ python3.pkgs.buildPythonApplication { nativeBuildInputs = lib.optionals enableQt [ wrapQtAppsHook ]; buildInputs = lib.optional (stdenv.isLinux && enableQt) qtwayland; propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python.pkgs; [ aiohttp aiohttp-socks aiorpcx Loading Loading @@ -85,7 +102,7 @@ python3.pkgs.buildPythonApplication { qdarkstyle ]; checkInputs = with python3.pkgs; lib.optionals enableQt [ checkInputs = with python.pkgs; lib.optionals enableQt [ pyqt6 ]; Loading Loading @@ -117,7 +134,7 @@ python3.pkgs.buildPythonApplication { wrapQtApp $out/bin/electrum ''; nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ]; nativeCheckInputs = with python.pkgs; [ pytestCheckHook pyaes pycryptodomex ]; pytestFlagsArray = [ "tests" ]; Loading