Revert "stlink: fix stlink build for macos"

This reverts commit 49dce7182f.

Remove patch that is included in stlink 1.8.0, and now breaks the build
since it cannot be applied again "on top of itself".

Fixes: 829148053d (stlink: 1.7.0 -> 1.8.0)
This commit is contained in:
Bjørn Forsman 2024-02-11 11:04:18 +01:00
parent b533f994cb
commit 480010b786

View File

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, libusb1
, gtk3
@ -28,13 +27,6 @@ in stdenv.mkDerivation rec {
sha256 = "sha256-hlFI2xpZ4ldMcxZbg/T5/4JuFFdO9THLcU0DQKSFqrw=";
};
patches = [
(fetchpatch {
url = "https://github.com/stlink-org/stlink/commit/468b1d2daa853b975c33ab69876c486734f2c6a7.diff";
sha256 = "sha256-ueSi/zc7xbOATl0yBtCL4U64IQ/yqu6sMYDOiPl1JBI=";
})
];
buildInputs = [
libusb1'
] ++ lib.optionals withGUI [