15 clangStdenv.mkDerivation rec {
16 pname = "ananicy-cpp";
19 src = fetchFromGitLab {
20 owner = "ananicy-cpp";
23 fetchSubmodules = true;
24 sha256 = "sha256-oPinSc00+Z6SxjfTh7DttcXSjsLv1X0NI+O37C8M8GY=";
44 # BPF A call to built-in function '__stack_chk_fail' is not supported.
45 hardeningDisable = [ "stackprotector" ];
48 "-DUSE_EXTERNAL_JSON=ON"
49 "-DUSE_EXTERNAL_SPDLOG=ON"
50 "-DUSE_EXTERNAL_FMTLIB=ON"
51 "-DUSE_BPF_PROC_IMPL=ON"
52 "-DBPF_BUILD_LIBBPF=OFF"
54 "-DVERSION=${version}"
59 rm -rf "$out"/lib/cmake
63 homepage = "https://gitlab.com/ananicy-cpp/ananicy-cpp";
64 description = "Rewrite of ananicy in c++ for lower cpu and memory usage";
65 license = licenses.gpl3Only;
66 platforms = platforms.linux;
67 maintainers = with maintainers; [ artturin ];