wb32-dfu-updater: fix broken CMake 4 build
Co-authored-by: Yohann Boniface <edhyjox@gmail.com> Co-authored-by: Grimmauld <soeren@benjos.de>
This commit is contained in:
7
pkgs/by-name/wb/wb32-dfu-updater/fix-cmake4-build.patch
Normal file
7
pkgs/by-name/wb/wb32-dfu-updater/fix-cmake4-build.patch
Normal file
@@ -0,0 +1,7 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.0)
|
||||
+cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
@@ -17,6 +17,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-DKsDVO00JFhR9hIZksFVJLRwC6PF9LCRpf++QywFO2w=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./fix-cmake4-build.patch # Temporary fix for https://github.com/WestberryTech/wb32-dfu-updater/pull/19
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ libusb1 ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user