diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-06-04 00:02:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 00:02:20 +0000 |
commit | c5a290d7d77867885f306dd519ca31f285ddb924 (patch) | |
tree | 6cbea74762a43178cdefb8ed4e157de42c3afc84 /pkgs/misc | |
parent | ddde12c6f7cd1869ec1a3de6d4f002a44af56de3 (diff) | |
parent | 7d71b24bd4acbd7fa6373c1de3c52fd1594a17a9 (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/ananicy-cpp/default.nix | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/pkgs/misc/ananicy-cpp/default.nix b/pkgs/misc/ananicy-cpp/default.nix deleted file mode 100644 index 9a771a470339f..0000000000000 --- a/pkgs/misc/ananicy-cpp/default.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ lib -, clangStdenv -, fetchFromGitLab -, cmake -, pkg-config -, spdlog -, nlohmann_json -, systemd -, libbpf -, elfutils -, bpftools -, zlib -}: - -clangStdenv.mkDerivation rec { - pname = "ananicy-cpp"; - version = "1.1.1"; - - src = fetchFromGitLab { - owner = "ananicy-cpp"; - repo = "ananicy-cpp"; - rev = "v${version}"; - fetchSubmodules = true; - sha256 = "sha256-oPinSc00+Z6SxjfTh7DttcXSjsLv1X0NI+O37C8M8GY="; - }; - - strictDeps = true; - - nativeBuildInputs = [ - cmake - pkg-config - bpftools - ]; - - buildInputs = [ - spdlog - nlohmann_json - systemd - libbpf - elfutils - zlib - ]; - - # BPF A call to built-in function '__stack_chk_fail' is not supported. - hardeningDisable = [ "stackprotector" ]; - - cmakeFlags = [ - "-DUSE_EXTERNAL_JSON=ON" - "-DUSE_EXTERNAL_SPDLOG=ON" - "-DUSE_EXTERNAL_FMTLIB=ON" - "-DUSE_BPF_PROC_IMPL=ON" - "-DBPF_BUILD_LIBBPF=OFF" - "-DENABLE_SYSTEMD=ON" - "-DVERSION=${version}" - ]; - - postInstall = '' - rm -rf "$out"/include - rm -rf "$out"/lib/cmake - ''; - - meta = with lib; { - homepage = "https://gitlab.com/ananicy-cpp/ananicy-cpp"; - description = "Rewrite of ananicy in c++ for lower cpu and memory usage"; - license = licenses.gpl3Only; - platforms = platforms.linux; - maintainers = with maintainers; [ artturin ]; - mainProgram = "ananicy-cpp"; - }; -} |