git.iko.soy/typeable/nixpkgs
on master help sign in
electrum: Patch compat with python trezor>=0.9.0
commit831ef4756e372bfff77332713ae319daa3a42742 authoradisbladis <adis@blad.is> dateThu 22 Feb 2018, 18:43 (9 years ago) parent52e419b
1 file changed+10−1
pkgs/applications/misc/electrum/default.nix+10−1
pkgs/applications/misc/electrum/default.nix+10−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, python3, python3Packages, zbar }:
1+{ stdenv, fetchurl, python3, python3Packages, zbar, fetchpatch }:
22
33python3Packages.buildPythonApplication rec {
44 name = "electrum-${version}";
@@ -9,6 +9,15 @@ python3Packages.buildPythonApplication rec {
99 sha256 = "01dnqiazjl2avrmdiq68absjvcfv24446y759z2s9dwk8ywzjkrg";
1010 };
1111
12+ patches = [
13+ # Trezor compat patch should be included in electrum > 3.0.6
14+ (fetchpatch {
15+ name = "trezor-compat.patch";
16+ url = "https://patch-diff.githubusercontent.com/raw/spesmilo/electrum/pull/3621.patch";
17+ sha256 = "1bk1r2ikhnvw1fpfh71y4za2lnskcbkv50k8ynjxi5slx2wrfpl0";
18+ })
19+ ];
20+
1221 propagatedBuildInputs = with python3Packages; [
1322 dnspython
1423 ecdsa