adafruit-nrfutil: Fix tests

This commit is contained in:
Christoph Honal
2024-05-13 15:21:54 +02:00
parent cfccc5ef9e
commit 08ad0d186d
@@ -19,11 +19,17 @@ python3Packages.buildPythonApplication rec {
patches = [
# Pull a patch which fixes the tests, but is not yet released in a new version:
# https://github.com/adafruit/Adafruit_nRF52_nrfutil/pull/38
# https://github.com/adafruit/Adafruit_nRF52_nrfutil/pull/42
(fetchpatch {
name = "fix-tests.patch";
url = "https://github.com/adafruit/Adafruit_nRF52_nrfutil/commit/e5fbcc8ee5958041db38c04139ba686bf7d1b845.patch";
sha256 = "sha256-0tbJldGtYcDdUzA3wZRv0lenXVn6dqV016U9nMpQ6/w=";
})
(fetchpatch {
name = "fix-test-test_get_vk_pem.patch";
url = "https://github.com/adafruit/Adafruit_nRF52_nrfutil/commit/f42cee3c2d7c8d0911f27ba24d6a140083cb85cf.patch";
sha256 = "sha256-7WoRqPKc8O5EYK7Fj1WrMJREwhueiVpkEizIfVnEPBU=";
})
];
nativeBuildInputs = with python3Packages; [