lcevcdec: clean up buildInputs (#393184)
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
{
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user