1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00

nrfutil: init at 5.2.0

This commit is contained in:
Gabriel Ebner 2019-05-19 12:12:32 +02:00
parent ef22dd015d
commit 131d9e53a2
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ stdenv, python2Packages, fetchFromGitHub }:
with python2Packages; buildPythonApplication rec {
pname = "nrfutil";
version = "5.2.0";
src = fetchFromGitHub {
owner = "NordicSemiconductor";
repo = "pc-nrfutil";
rev = "v${version}";
sha256 = "1hajjgz8r4fjbwqr22p5dvb6k83dpxf8k7mhx20gkbrrx9ivqh79";
};
propagatedBuildInputs = [ pc-ble-driver-py six pyserial enum34 click ecdsa
protobuf tqdm piccata pyspinel intelhex pyyaml crcmod libusb1 ipaddress ];
checkInputs = [ nose behave ];
postPatch = ''
# remove version bound on pyyaml
sed -i /pyyaml/d requirements.txt
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 ];
};
}

View file

@ -9397,6 +9397,8 @@ in
noweb = callPackage ../development/tools/literate-programming/noweb { };
nuweb = callPackage ../development/tools/literate-programming/nuweb { tex = texlive.combined.scheme-small; };
nrfutil = callPackage ../development/tools/misc/nrfutil { };
obelisk = callPackage ../development/tools/ocaml/obelisk { };
obuild = callPackage ../development/tools/ocaml/obuild { };