10 stdenv.mkDerivation rec {
14 src = fetchFromGitHub {
18 hash = "sha256-i1txeUE/ZSRggwLDtpS8dd4uuZfHX9w3zRH0gBgGXnk=";
20 sourceRoot = "${src.name}/fuzzylite";
22 outputs = [ "out" "dev" ];
25 substituteInPlace CMakeLists.txt \
26 --replace "-Werror" "-Wno-error"
35 "-DFL_BUILD_TESTS:BOOL=OFF"
36 "-DFL_USE_FLOAT:BOOL=${if useFloat then "ON" else "OFF"}"
40 description = "A fuzzy logic control library in C++";
41 homepage = "https://fuzzylite.com";
42 changelog = "https://github.com/fuzzylite/fuzzylite/${src.rev}/release/CHANGELOG";
43 license = licenses.gpl3Only;
44 maintainers = with maintainers; [ azahi ];
45 platforms = platforms.all;