10 stdenv.mkDerivation (finalAttrs: {
20 src = fetchFromGitHub {
21 owner = "fraunhoferhhi";
23 rev = "v${finalAttrs.version}";
24 hash = "sha256-9fWKunafTniBsY9hK09+xYwvB7IgGPhZmgqauPHgB/g=";
27 patches = [ ./unset-darwin-cmake-flags.patch ];
29 env.NIX_CFLAGS_COMPILE = toString (
30 lib.optionals stdenv.cc.isGNU [
31 "-Wno-maybe-uninitialized"
36 nativeBuildInputs = [ cmake ];
39 (lib.cmakeBool "VVENC_INSTALL_FULLFEATURE_APP" true)
40 (lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
44 updateScript = gitUpdater {
46 ignoredVersions = "rc";
48 tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
52 homepage = "https://github.com/fraunhoferhhi/vvenc";
53 description = "Fraunhofer Versatile Video Encoder";
54 license = lib.licenses.bsd3Clear;
55 mainProgram = "vvencapp";
56 pkgConfigModules = [ "libvvenc" ];
57 maintainers = with lib.maintainers; [ jopejoe1 ];
58 platforms = lib.platforms.all;