Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: libaom 0 -> 1 attrpath: libaom Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/v9gxqrigfj4srqg3szzfrlbb4wg8574a-packages.json.drv building '/nix/store/v9gxqrigfj4srqg3szzfrlbb4wg8574a-packages.json.drv'... structuredAttrs is enabled Going to be running update for following packages: - libaom-3.15.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - libaom-3.15.0: UPDATING ... - libaom-3.15.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/li/libaom/package.nix b/pkgs/by-name/li/libaom/package.nix index c8cf959b9bf0..15a5afaaa49f 100644 --- a/pkgs/by-name/li/libaom/package.nix +++ b/pkgs/by-name/li/libaom/package.nix @@ -23,11 +23,11 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "libaom"; - version = "3.15.0"; + version = "3.15.2"; src = fetchzip { url = "https://aomedia.googlesource.com/aom/+archive/v${finalAttrs.version}.tar.gz"; - hash = "sha256-TixZQP06TEZPtpHvWVOEagzHtXW9hqXWweO2yimBDG4="; + hash = "sha256-RjAg0vm4uPQPiM48pObD6A87HMhBiwyV9CZ3a3qeJCo="; stripRoot = false; }; No auto update branch exists Old version 3.15.0" not present in staging derivation file with contents: { lib, stdenv, fetchurl, fetchzip, yasm, perl, cmake, pkg-config, python3, enableVmaf ? true, libvmaf, gitUpdater, # for passthru.tests ffmpeg, libavif, libheif, }: let isCross = stdenv.buildPlatform != stdenv.hostPlatform; in stdenv.mkDerivation (finalAttrs: { pname = "libaom"; version = "3.15.1"; src = fetchzip { url = "https://aomedia.googlesource.com/aom/+archive/v${finalAttrs.version}.tar.gz"; hash = "sha256-TlAgiu+vv2DkxVYvnPyX4UqYFyewkSuNB73gZCifCYM="; stripRoot = false; }; patches = [ ./outputs.patch ]; nativeBuildInputs = [ yasm perl cmake pkg-config python3 ]; propagatedBuildInputs = lib.optional enableVmaf libvmaf; env = lib.optionalAttrs stdenv.hostPlatform.isFreeBSD { # This can be removed when we switch to libcxx from llvm 20 # https://github.com/llvm/llvm-project/pull/122361 NIX_CFLAGS_COMPILE = "-D_XOPEN_SOURCE=700"; } // lib.optionalAttrs stdenv.hostPlatform.isLinux { # _POSIX_C_SOURCE breaks system headers on Darwin; it's required on musl NIX_CFLAGS_COMPILE = "-D_POSIX_C_SOURCE=200112L"; }; preConfigure = '' # build uses `git describe` to set the build version cat > $NIX_BUILD_TOP/git << "EOF" #!${stdenv.shell} echo v${finalAttrs.version} EOF chmod +x $NIX_BUILD_TOP/git export PATH=$NIX_BUILD_TOP:$PATH ''; # Configuration options: # https://aomedia.googlesource.com/aom/+/refs/heads/master/build/cmake/aom_config_defaults.cmake cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DENABLE_TESTS=OFF" ] ++ lib.optionals enableVmaf [ "-DCONFIG_TUNE_VMAF=1" ] ++ lib.optionals (isCross && !stdenv.hostPlatform.isx86) [ "-DCMAKE_ASM_COMPILER=${lib.getBin stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc" ] ++ lib.optionals stdenv.hostPlatform.isAarch32 [ # armv7l-hf-multiplatform does not support NEON # see lib/systems/platform.nix "-DENABLE_NEON=0" ]; postFixup = '' moveToOutput lib/libaom.a "$static" substituteInPlace "$dev"/lib/cmake/*/*.cmake \ --replace-quiet "$out/lib/libaom.a" "$static/lib/libaom.a" \ --replace-quiet "$"'{_IMPORT_PREFIX}/include' "$dev/include" '' + lib.optionalString stdenv.hostPlatform.isStatic '' ln -s $static $out ''; __structuredAttrs = true; strictDeps = true; outputs = [ "out" "bin" "dev" "static" ]; passthru = { updateScript = gitUpdater { url = "https://aomedia.googlesource.com/aom"; rev-prefix = "v"; ignoredVersions = "(alpha|beta|rc).*"; }; tests = { inherit libavif libheif; ffmpeg = ffmpeg.override { withAom = true; }; }; }; meta = { description = "Alliance for Open Media AV1 codec library"; longDescription = '' Libaom is the reference implementation of the AV1 codec from the Alliance for Open Media. It contains an AV1 library as well as applications like an encoder (aomenc) and a decoder (aomdec). ''; homepage = "https://aomedia.org/av1-features/get-started/"; changelog = "https://aomedia.googlesource.com/aom/+/refs/tags/v${finalAttrs.version}/CHANGELOG"; maintainers = with lib.maintainers; [ dandellion ]; platforms = lib.platforms.all; outputsToInstall = [ "bin" ]; license = lib.licenses.bsd2; }; })