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:
parent
ef22dd015d
commit
131d9e53a2
33
pkgs/development/tools/misc/nrfutil/default.nix
Normal file
33
pkgs/development/tools/misc/nrfutil/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue