Unverified Commit fa84f121 authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

lcevcdec: clean up buildInputs (#393184)

parents 49d80456 1d923037
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
{
  cmake,
  fetchFromGitHub,
  fmt,
  git,
  gitUpdater,
  gtest,
  lib,
  nlohmann_json,
  pkg-config,
  python3,
  range-v3,
  rapidjson,
  stdenv,
  testers,
}:
@@ -57,21 +54,20 @@ stdenv.mkDerivation (finalAttrs: {

  nativeBuildInputs = [
    cmake
    python3
    git
    pkg-config
    python3
  ];

  buildInputs = [
    rapidjson
    fmt
    range-v3
    nlohmann_json
  ];

  cmakeFlags = [
    (lib.cmakeFeature "VN_SDK_FFMPEG_LIBS_PACKAGE" "")
    (lib.cmakeBool "VN_SDK_UNIT_TESTS" false)
    (lib.cmakeBool "VN_SDK_SAMPLE_SOURCE" false)
    (lib.cmakeBool "VN_SDK_JSON_CONFIG" true)
    (lib.cmakeBool "VN_CORE_AVX2" stdenv.hostPlatform.avx2Support)
    # Requires avx for checking on runtime
    (lib.cmakeBool "VN_CORE_SSE" stdenv.hostPlatform.avxSupport)