diff options
author | Lassulus <github@lassul.us> | 2024-01-15 14:22:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-15 14:22:58 +0100 |
commit | d3b82fd08d9881cb32e9ecd054d523f0f1c11fc5 (patch) | |
tree | 95fd6a061986f9b2c9f34297e1b3331b06878334 /pkgs/applications | |
parent | 6b06d958ee7a947380b28bdfc55d1f8797ff0e77 (diff) | |
parent | aa35410cb5be72a4e85c3a9269fa5045ea8d2eea (diff) |
Merge pull request #281086 from andersrh/upgrade-electron-cash3
electron-cash: 4.2.10 -> 4.3.1
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/misc/electron-cash/default.nix | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/pkgs/applications/misc/electron-cash/default.nix b/pkgs/applications/misc/electron-cash/default.nix index 16eb89cb5a845..7760b57dd3b92 100644 --- a/pkgs/applications/misc/electron-cash/default.nix +++ b/pkgs/applications/misc/electron-cash/default.nix @@ -1,15 +1,15 @@ { lib, stdenv, fetchFromGitHub, python3Packages, wrapQtAppsHook -, secp256k1 }: +, secp256k1, qtwayland }: python3Packages.buildPythonApplication rec { pname = "electron-cash"; - version = "4.2.10"; + version = "4.3.1"; src = fetchFromGitHub { owner = "Electron-Cash"; repo = "Electron-Cash"; rev = "refs/tags/${version}"; - sha256 = "sha256-m13wJlNBG3BxOdKUyd3qmIhFBM7263FzMKr5lfD1tys="; + sha256 = "sha256-xOyj5XerOwgfvI0qj7+7oshDvd18h5IeZvcJTis8nWo="; }; propagatedBuildInputs = with python3Packages; [ @@ -27,6 +27,7 @@ python3Packages.buildPythonApplication rec { certifi pathvalidate dnspython + bitcoinrpc # requirements-binaries pyqt5 @@ -47,6 +48,8 @@ python3Packages.buildPythonApplication rec { nativeBuildInputs = [ wrapQtAppsHook ]; + buildInputs = [ ] ++ lib.optional stdenv.isLinux qtwayland; + postPatch = '' substituteInPlace contrib/requirements/requirements.txt \ --replace "qdarkstyle==2.6.8" "qdarkstyle<3" @@ -55,13 +58,6 @@ python3Packages.buildPythonApplication rec { --replace "(share_dir" "(\"share\"" ''; - nativeCheckInputs = with python3Packages; [ pytest ]; - - checkPhase = '' - unset HOME - pytest electroncash/tests - ''; - postInstall = lib.optionalString stdenv.isLinux '' substituteInPlace $out/share/applications/electron-cash.desktop \ --replace "Exec=electron-cash" "Exec=$out/bin/electron-cash" |