1ffc76754d
GitOrigin-RevId: a5cc7d3197705f933d88e97c0c61849219ce76c1
30 lines
858 B
Nix
30 lines
858 B
Nix
{ stdenv, python37Packages, fetchFromGitHub }:
|
|
|
|
with python37Packages; buildPythonApplication rec {
|
|
pname = "nrfutil";
|
|
version = "6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "NordicSemiconductor";
|
|
repo = "pc-nrfutil";
|
|
rev = "v${version}";
|
|
sha256 = "0g43lf5jmk0qxb7r4h68wr38fli6pjjk67w8l2cpdm9rd8jz4lpn";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pc-ble-driver-py six pyserial enum34 click ecdsa
|
|
protobuf tqdm piccata pyspinel intelhex pyyaml crcmod libusb1 ipaddress ];
|
|
|
|
checkInputs = [ nose behave ];
|
|
|
|
postPatch = ''
|
|
mkdir test-reports
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Device Firmware Update tool for nRF chips";
|
|
homepage = "https://github.com/NordicSemiconductor/pc-nrfutil";
|
|
license = licenses.unfreeRedistributable;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ gebner ];
|
|
};
|
|
}
|