@@ -1,14 +1,14 @@
1−{ lib, fetchurl, python3Packages, qtbase, wrapQtAppsHook }:
1+{ lib, fetchFromGitHub, python3Packages, qtbase, wrapQtAppsHook }:
22
33python3Packages.buildPythonApplication rec {
44 pname = "electron-cash";
5− version = "4.0.10";
5+ version = "4.0.11";
66
7− src = fetchurl {
8− url = "https://electroncash.org/downloads/${version}/win-linux/Electron-Cash-${version}.tar.gz";
9− # Verified using official SHA-1 and signature from
10− # https://github.com/fyookball/keys-n-hashes
11− sha256 = "48270e12956a2f4ef4d2b0cb60611e47f136b734a3741dab176542a32ae59ee5";
7+ src = fetchFromGitHub {
8+ owner = "Electron-Cash";
9+ repo = "Electron-Cash";
10+ rev = version;
11+ sha256 = "1k4zbaj0g8bgk1l5vrb835a8bqfay2707bcb4ql2vx4igcwpb680";
1212 };
1313
1414 propagatedBuildInputs = with python3Packages; [