python3.pkgs.pyocd: relax pylink-square constraint

1.0 seems to be very minor changes[1].  The flash() method is not used
anywhere in pyocd as far as I can tell, the tests all pass, and it
doesn't build at all otherwise.

[1]: https://github.com/square/pylink/blob/master/CHANGELOG.md#100
This commit is contained in:
Alyssa Ross 2023-02-13 11:03:25 +00:00
parent df9930290b
commit e33e3f03f1

View File

@ -60,7 +60,8 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.cfg \
--replace "libusb-package>=1.0,<2.0" ""
--replace "libusb-package>=1.0,<2.0" "" \
--replace "pylink-square>=0.11.1,<1.0" "pylink-square>=0.11.1,<2.0"
'';
meta = with lib; {