Skip to content

Commit

Permalink
electrum: Patch compat with python trezor>=0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adisbladis committed Feb 22, 2018
1 parent 52e419b commit 831ef47
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkgs/applications/misc/electrum/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, python3, python3Packages, zbar }:
{ stdenv, fetchurl, python3, python3Packages, zbar, fetchpatch }:

python3Packages.buildPythonApplication rec {
name = "electrum-${version}";
Expand All @@ -9,6 +9,15 @@ python3Packages.buildPythonApplication rec {
sha256 = "01dnqiazjl2avrmdiq68absjvcfv24446y759z2s9dwk8ywzjkrg";
};

patches = [
# Trezor compat patch should be included in electrum > 3.0.6
(fetchpatch {
name = "trezor-compat.patch";
url = "https://patch-diff.githubusercontent.com/raw/spesmilo/electrum/pull/3621.patch";
sha256 = "1bk1r2ikhnvw1fpfh71y4za2lnskcbkv50k8ynjxi5slx2wrfpl0";
})
];

propagatedBuildInputs = with python3Packages; [
dnspython
ecdsa
Expand Down

0 comments on commit 831ef47

Please sign in to comment.