Loading pkgs/applications/misc/electrum/default.nix +10 −6 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ }: let version = "4.5.0"; version = "4.5.3"; libsecp256k1_name = if stdenv.isLinux then "libsecp256k1.so.{v}" Loading @@ -29,11 +29,11 @@ let owner = "spesmilo"; repo = "electrum"; rev = version; sha256 = "sha256-IEKuHUlH+dg+8w+n7XV7hdDOPOFZ/lpUsIlYldwR44Y="; sha256 = "sha256-Lr6ynHAbyaiaxYAWU5j5Wh5acxO5HkP1/jpnFrL4j68="; postFetch = '' mv $out ./all mv ./all/electrum/tests $out mv ./all/tests $out ''; }; Loading @@ -45,12 +45,12 @@ python3.pkgs.buildPythonApplication { src = fetchurl { url = "https://download.electrum.org/${version}/Electrum-${version}.tar.gz"; sha256 = "sha256-s4FH8FtPg4wepU/5XI062dAN9fCYR1xJGwrxftCSKzw="; sha256 = "sha256-kej0msc7SB+51ad5xZrT8MMEY5rfYOGqum6RO1gBH5s="; }; postUnpack = '' # can't symlink, tests get confused cp -ar ${tests} $sourceRoot/electrum/tests cp -ar ${tests} $sourceRoot/tests ''; nativeBuildInputs = lib.optionals enableQt [ wrapQtAppsHook ]; Loading Loading @@ -85,6 +85,10 @@ python3.pkgs.buildPythonApplication { qdarkstyle ]; checkInputs = with python3.pkgs; lib.optionals enableQt [ pyqt6 ]; postPatch = '' # make compatible with protobuf4 by easing dependencies ... substituteInPlace ./contrib/requirements/requirements.txt \ Loading Loading @@ -115,7 +119,7 @@ python3.pkgs.buildPythonApplication { nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ]; pytestFlagsArray = [ "electrum/tests" ]; pytestFlagsArray = [ "tests" ]; postCheck = '' $out/bin/electrum help >/dev/null Loading Loading
pkgs/applications/misc/electrum/default.nix +10 −6 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ }: let version = "4.5.0"; version = "4.5.3"; libsecp256k1_name = if stdenv.isLinux then "libsecp256k1.so.{v}" Loading @@ -29,11 +29,11 @@ let owner = "spesmilo"; repo = "electrum"; rev = version; sha256 = "sha256-IEKuHUlH+dg+8w+n7XV7hdDOPOFZ/lpUsIlYldwR44Y="; sha256 = "sha256-Lr6ynHAbyaiaxYAWU5j5Wh5acxO5HkP1/jpnFrL4j68="; postFetch = '' mv $out ./all mv ./all/electrum/tests $out mv ./all/tests $out ''; }; Loading @@ -45,12 +45,12 @@ python3.pkgs.buildPythonApplication { src = fetchurl { url = "https://download.electrum.org/${version}/Electrum-${version}.tar.gz"; sha256 = "sha256-s4FH8FtPg4wepU/5XI062dAN9fCYR1xJGwrxftCSKzw="; sha256 = "sha256-kej0msc7SB+51ad5xZrT8MMEY5rfYOGqum6RO1gBH5s="; }; postUnpack = '' # can't symlink, tests get confused cp -ar ${tests} $sourceRoot/electrum/tests cp -ar ${tests} $sourceRoot/tests ''; nativeBuildInputs = lib.optionals enableQt [ wrapQtAppsHook ]; Loading Loading @@ -85,6 +85,10 @@ python3.pkgs.buildPythonApplication { qdarkstyle ]; checkInputs = with python3.pkgs; lib.optionals enableQt [ pyqt6 ]; postPatch = '' # make compatible with protobuf4 by easing dependencies ... substituteInPlace ./contrib/requirements/requirements.txt \ Loading Loading @@ -115,7 +119,7 @@ python3.pkgs.buildPythonApplication { nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pyaes pycryptodomex ]; pytestFlagsArray = [ "electrum/tests" ]; pytestFlagsArray = [ "tests" ]; postCheck = '' $out/bin/electrum help >/dev/null Loading