python3Packages.zigpy-znp: apply patch for failing test

This commit is contained in:
Martin Weinelt 2021-07-17 15:39:33 +02:00
parent 9d94c99d65
commit 7a77d8c487

View File

@ -4,6 +4,7 @@
, buildPythonPackage , buildPythonPackage
, coloredlogs , coloredlogs
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, jsonschema , jsonschema
, pyserial , pyserial
, pyserial-asyncio , pyserial-asyncio
@ -27,6 +28,14 @@ buildPythonPackage rec {
sha256 = "152d803jfrvkj4namni41fnbbnq85wd7zsqjhmkwrrmn2gvqjiln"; sha256 = "152d803jfrvkj4namni41fnbbnq85wd7zsqjhmkwrrmn2gvqjiln";
}; };
patches = [
(fetchpatch {
# Fixes tests/application/test_joining.py::test_new_device_join_and_bind_complex[FormedLaunchpadCC26X2R1]
url = "https://github.com/zigpy/zigpy-znp/commit/582cffb68fdf0c5bc14d55efca2a683222d7fed7.patch";
sha256 = "0qsfziqqjnnf21gdqv3wwk50vni46i0h1liw5ysq641yjfnas9az";
})
];
propagatedBuildInputs = [ propagatedBuildInputs = [
async-timeout async-timeout
coloredlogs coloredlogs