nrfutil: drop

This commit is contained in:
h7x4 2024-07-17 16:49:26 +02:00
parent b84f55850a
commit 6a3eb966a4
No known key found for this signature in database
GPG Key ID: 9F2F7D8250F35146
2 changed files with 0 additions and 57 deletions

View File

@ -1,55 +0,0 @@
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "nrfutil";
version = "6.1.7";
src = fetchFromGitHub {
owner = "NordicSemiconductor";
repo = "pc-nrfutil";
rev = "refs/tags/v${version}";
sha256 = "sha256-WiXqeQObhXszDcLxJN8ABd2ZkxsOUvtZQSVP8cYlT2M=";
};
propagatedBuildInputs = with python3.pkgs; [
click
crcmod
ecdsa
libusb1
intelhex
pc-ble-driver-py
piccata
protobuf
pyserial
pyspinel
pyyaml
tqdm
];
nativeCheckInputs = with python3.pkgs; [
behave
pytestCheckHook
];
# Workaround: pythonRelaxDepsHook doesn't work for this.
postPatch = ''
mkdir test-reports
substituteInPlace requirements.txt \
--replace "libusb1==1.9.3" "libusb1" \
--replace "protobuf >=3.17.3, < 4.0.0" "protobuf"
substituteInPlace nordicsemi/dfu/tests/test_signing.py \
--replace "self.assertEqual(expected_vk_pem, vk_pem)" ""
'';
meta = {
description = "Device Firmware Update tool for nRF chips";
homepage = "https://github.com/NordicSemiconductor/pc-nrfutil";
license = lib.licenses.unfreeRedistributable;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ gebner ];
};
}

View File

@ -18310,8 +18310,6 @@ with pkgs;
nrf5-sdk = callPackage ../development/libraries/nrf5-sdk { };
nrfutil = callPackage ../development/tools/misc/nrfutil { };
obelisk = callPackage ../development/tools/ocaml/obelisk { menhir = ocamlPackages.menhir; };
obuild = callPackage ../development/tools/ocaml/obuild { };