Skip to content

Commit 4625492

Browse files
oxalicaitepastra
andcommitted
electron-cash: move to by-name and format
Co-authored-by: Noa Aarts <[email protected]>
1 parent 65e386a commit 4625492

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

pkgs/applications/misc/electron-cash/default.nix renamed to pkgs/by-name/el/electron-cash/package.nix

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
{ lib, stdenv, fetchFromGitHub, python3Packages, wrapQtAppsHook
2-
, secp256k1, qtwayland }:
1+
{
2+
lib,
3+
stdenv,
4+
fetchFromGitHub,
5+
python3Packages,
6+
qt5,
7+
secp256k1,
8+
}:
39

410
python3Packages.buildPythonApplication rec {
511
pname = "electron-cash";
@@ -49,9 +55,9 @@ python3Packages.buildPythonApplication rec {
4955
pysatochip
5056
];
5157

52-
nativeBuildInputs = [ wrapQtAppsHook ];
58+
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
5359

54-
buildInputs = [ ] ++ lib.optional stdenv.hostPlatform.isLinux qtwayland;
60+
buildInputs = [ ] ++ lib.optional stdenv.hostPlatform.isLinux qt5.qtwayland;
5561

5662
postPatch = ''
5763
substituteInPlace contrib/requirements/requirements.txt \
@@ -89,7 +95,11 @@ python3Packages.buildPythonApplication rec {
8995
'';
9096
homepage = "https://www.electroncash.org/";
9197
platforms = platforms.unix;
92-
maintainers = with maintainers; [ lassulus nyanloutre oxalica ];
98+
maintainers = with maintainers; [
99+
lassulus
100+
nyanloutre
101+
oxalica
102+
];
93103
license = licenses.mit;
94104
};
95105
}

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13255,8 +13255,6 @@ with pkgs;
1325513255
inherit (darwin.apple_sdk.frameworks) AppKit;
1325613256
};
1325713257

13258-
electron-cash = libsForQt5.callPackage ../applications/misc/electron-cash { };
13259-
1326013258
electrum = libsForQt5.callPackage ../applications/misc/electrum { };
1326113259

1326213260
electrum-grs = libsForQt5.callPackage ../applications/misc/electrum/grs.nix { };

0 commit comments

Comments
 (0)