fuzzylite: 6.0 -> 6.0-unstable-2025-08-30 (cmake-4 compatible)
Without the change the build fails on` master as:
fuzzylite> CMake Error at /build/innoextract-1.9/cmake/VersionScript.cmake:20 (cmake_minimum_required):
fuzzylite> Compatibility with CMake < 3.5 has been removed from CMake.
This commit is contained in:
@@ -5,19 +5,19 @@
|
|||||||
cmake,
|
cmake,
|
||||||
ninja,
|
ninja,
|
||||||
useFloat ? false,
|
useFloat ? false,
|
||||||
|
unstableGitUpdater,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fuzzylite";
|
pname = "fuzzylite";
|
||||||
version = "6.0";
|
version = "6.0-unstable-2025-08-30";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "fuzzylite";
|
owner = "fuzzylite";
|
||||||
repo = "fuzzylite";
|
repo = "fuzzylite";
|
||||||
rev = "v${version}";
|
rev = "fe62b61ad0e301fbd8868d5fc3d76d7590c59636";
|
||||||
hash = "sha256-i1txeUE/ZSRggwLDtpS8dd4uuZfHX9w3zRH0gBgGXnk=";
|
hash = "sha256-p3ikdY3kfC8N7XsHHa3HzWI0blciWoxCHiEOOUt2yLY=";
|
||||||
};
|
};
|
||||||
sourceRoot = "${src.name}/fuzzylite";
|
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
"out"
|
"out"
|
||||||
@@ -39,6 +39,9 @@ stdenv.mkDerivation rec {
|
|||||||
"-DFL_USE_FLOAT:BOOL=${if useFloat then "ON" else "OFF"}"
|
"-DFL_USE_FLOAT:BOOL=${if useFloat then "ON" else "OFF"}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# use unstable as latest release does not yet support cmake-4
|
||||||
|
passthru.updateScript = unstableGitUpdater { tagPrefix = "v"; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Fuzzy logic control library in C++";
|
description = "Fuzzy logic control library in C++";
|
||||||
mainProgram = "fuzzylite";
|
mainProgram = "fuzzylite";
|
||||||
|
|||||||
Reference in New Issue
Block a user