nrfutil: 5.2 -> 6.1
This commit is contained in:
parent
d82b7b8690
commit
720a9358dd
@ -1,25 +1,22 @@
|
|||||||
{ stdenv, python2Packages, fetchFromGitHub }:
|
{ stdenv, python37Packages, fetchFromGitHub }:
|
||||||
|
|
||||||
with python2Packages; buildPythonApplication rec {
|
with python37Packages; buildPythonApplication rec {
|
||||||
pname = "nrfutil";
|
pname = "nrfutil";
|
||||||
version = "5.2.0";
|
version = "6.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "NordicSemiconductor";
|
owner = "NordicSemiconductor";
|
||||||
repo = "pc-nrfutil";
|
repo = "pc-nrfutil";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1hajjgz8r4fjbwqr22p5dvb6k83dpxf8k7mhx20gkbrrx9ivqh79";
|
sha256 = "0g43lf5jmk0qxb7r4h68wr38fli6pjjk67w8l2cpdm9rd8jz4lpn";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ pc-ble-driver-py six pyserial enum34 click ecdsa
|
propagatedBuildInputs = [ pc-ble-driver-py six pyserial enum34 click ecdsa
|
||||||
protobuf tqdm piccata pyspinel intelhex pyyaml crcmod libusb1 ipaddress ];
|
protobuf tqdm piccata pyspinel intelhex pyyaml crcmod libusb1 ipaddress ];
|
||||||
|
|
||||||
checkInputs = [ nose behave ];
|
checkInputs = [ nose behave ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# remove version bound on pyyaml
|
|
||||||
sed -i /pyyaml/d requirements.txt
|
|
||||||
|
|
||||||
mkdir test-reports
|
mkdir test-reports
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user