forked from mirrors/nixpkgs
electrum: Patch compat with python trezor>=0.9.0
This commit is contained in:
parent
52e419bb2f
commit
831ef4756e
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, python3, python3Packages, zbar }:
|
||||
{ stdenv, fetchurl, python3, python3Packages, zbar, fetchpatch }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
name = "electrum-${version}";
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue