Skip to content

Commit

Permalink
nrfutil: relax protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
oxalica committed Nov 5, 2022
1 parent 53dfc25 commit 8bd4d92
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/development/tools/misc/nrfutil/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,12 @@ buildPythonApplication rec {
nose
];

# Workaround: pythonRelaxDepsHook doesn't work for this.
postPatch = ''
mkdir test-reports
substituteInPlace requirements.txt --replace "libusb1==1.9.3" "libusb1"
substituteInPlace requirements.txt \
--replace "libusb1==1.9.3" "libusb1" \
--replace "protobuf >=3.17.3, < 4.0.0" "protobuf"
'';

meta = with lib; {
Expand Down

0 comments on commit 8bd4d92

Please sign in to comment.