mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
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";
|
||||
version = "5.2.0";
|
||||
version = "6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NordicSemiconductor";
|
||||
repo = "pc-nrfutil";
|
||||
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 ];
|
||||
|
||||
checkInputs = [ nose behave ];
|
||||
|
||||
postPatch = ''
|
||||
# remove version bound on pyyaml
|
||||
sed -i /pyyaml/d requirements.txt
|
||||
|
||||
mkdir test-reports
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user