av1an-unwrapped: update build configuration for v0.5.2

- align package name casing (av1an → Av1an) with upstream project
- remove custom version regex; use standard versioning
- add versionCheckHook
This commit is contained in:
Thierry Delafontaine
2026-05-17 10:52:16 +02:00
parent dc0902aa40
commit 59fa7b6bb4
+4 -9
View File
@@ -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";