From 59fa7b6bb44e9eb5499aa61dec866aa386ba21f5 Mon Sep 17 00:00:00 2001 From: Thierry Delafontaine Date: Sun, 17 May 2026 09:57:27 +0200 Subject: [PATCH] av1an-unwrapped: update build configuration for v0.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - align package name casing (av1an → Av1an) with upstream project - remove custom version regex; use standard versioning - add versionCheckHook --- pkgs/by-name/av/av1an-unwrapped/package.nix | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/av/av1an-unwrapped/package.nix b/pkgs/by-name/av/av1an-unwrapped/package.nix index 977cda3facd7..95428505480b 100644 --- a/pkgs/by-name/av/av1an-unwrapped/package.nix +++ b/pkgs/by-name/av/av1an-unwrapped/package.nix @@ -11,6 +11,7 @@ rav1e, rustPlatform, vapoursynth, + versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -19,7 +20,7 @@ rustPlatform.buildRustPackage (finalAttrs: { src = fetchFromGitHub { owner = "rust-av"; - repo = "av1an"; + repo = "Av1an"; tag = finalAttrs.version; hash = "sha256-YF+j349777pE+evvXWTo42DQn1CE0jlfKBEXUFTfcb8="; }; @@ -50,16 +51,10 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeCheckInputs = [ libaom rav1e + versionCheckHook ]; - passthru = { - updateScript = nix-update-script { - extraArgs = [ - "--version-regex" - "'^(\\d*\\.\\d*\\.\\d*)$'" - ]; - }; - }; + passthru.updateScript = nix-update-script { }; meta = { description = "Cross-platform command-line encoding framework";