From a9c61861062f6a0220cb1171d06be5ad2f5c73e7 Mon Sep 17 00:00:00 2001 From: ccicnce113424 Date: Sat, 10 Jan 2026 12:00:08 +0800 Subject: [PATCH 1/2] svt-av1-psy: move to an active fork svt-av1-psyex --- .../package.nix | 27 +++++++++---------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 13 insertions(+), 15 deletions(-) rename pkgs/by-name/sv/{svt-av1-psy => svt-av1-psyex}/package.nix (69%) diff --git a/pkgs/by-name/sv/svt-av1-psy/package.nix b/pkgs/by-name/sv/svt-av1-psyex/package.nix similarity index 69% rename from pkgs/by-name/sv/svt-av1-psy/package.nix rename to pkgs/by-name/sv/svt-av1-psyex/package.nix index c722b55ecd78..3413c143ceaf 100644 --- a/pkgs/by-name/sv/svt-av1-psy/package.nix +++ b/pkgs/by-name/sv/svt-av1-psyex/package.nix @@ -3,22 +3,22 @@ stdenv, fetchFromGitHub, cmake, - nasm, + yasm, cpuinfo, libdovi, hdr10plus, - unstableGitUpdater, + nix-update-script, }: stdenv.mkDerivation (finalAttrs: { - pname = "svt-av1-psy"; - version = "3.0.2-unstable-2025-04-21"; + pname = "svt-av1-psyex"; + version = "3.0.2-B"; src = fetchFromGitHub { - owner = "psy-ex"; - repo = "svt-av1-psy"; - rev = "3745419c40267d294202b52f48f069aff56cdb78"; - hash = "sha256-iAw2FiEsBGB4giWqzo1EJZok26WSlq7brq9kJubnkAQ="; + owner = "BlueSwordM"; + repo = "svt-av1-psyex"; + tag = "v${finalAttrs.version}"; + hash = "sha256-klfrbow8UtpIPwIgt8tK7FP7Jp6In9nxfOZrdi1PsHo="; }; cmakeBuildType = "Release"; @@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: { cmake ] ++ lib.optionals stdenv.hostPlatform.isx86_64 [ - nasm + yasm ]; buildInputs = [ @@ -51,17 +51,14 @@ stdenv.mkDerivation (finalAttrs: { cpuinfo ]; - passthru.updateScript = unstableGitUpdater { - branch = "master"; - tagPrefix = "v"; - }; + passthru.updateScript = nix-update-script { extraArgs = [ "--use-github-releases" ]; }; meta = { - homepage = "https://github.com/psy-ex/svt-av1-psy"; + homepage = "https://github.com/BlueSwordM/svt-av1-psyex"; description = "Scalable Video Technology AV1 Encoder and Decoder"; longDescription = '' - SVT-AV1-PSY is the Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) + SVT-AV1-PSYEX is the Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) with perceptual enhancements for psychovisually optimal AV1 encoding. The goal is to create the best encoding implementation for perceptual quality with AV1. ''; diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index d4f5aad043eb..2e832d65c020 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1582,6 +1582,7 @@ mapAliases { sumalibs = throw "'sumalibs' has been removed as it was archived upstream and broken with GCC 14"; # Added 2025-06-14 sumatra = throw "'sumatra' has been removed as it was archived upstream and broken with GCC 14"; # Added 2025-06-14 sumneko-lua-language-server = throw "'sumneko-lua-language-server' has been renamed to/replaced by 'lua-language-server'"; # Converted to throw 2025-10-27 + svt-av1-psy = warnAlias "'svt-av1-psy' has been replaced by 'svt-av1-psyex'" svt-av1-psyex; # Added 2026-01-10 swig4 = throw "'swig4' has been renamed to/replaced by 'swig'"; # Converted to throw 2025-10-27 swiProlog = throw "'swiProlog' has been renamed to/replaced by 'swi-prolog'"; # Converted to throw 2025-10-27 swiPrologWithGui = throw "'swiPrologWithGui' has been renamed to/replaced by 'swi-prolog-gui'"; # Converted to throw 2025-10-27 From bf28018005c0e7b5e036b0feca588c5952faa6da Mon Sep 17 00:00:00 2001 From: ccicnce113424 Date: Sat, 10 Jan 2026 12:00:43 +0800 Subject: [PATCH 2/2] svt-av1-psyex: add ccicnce113424 as a maintainer --- pkgs/by-name/sv/svt-av1-psyex/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/sv/svt-av1-psyex/package.nix b/pkgs/by-name/sv/svt-av1-psyex/package.nix index 3413c143ceaf..ebfb5017611b 100644 --- a/pkgs/by-name/sv/svt-av1-psyex/package.nix +++ b/pkgs/by-name/sv/svt-av1-psyex/package.nix @@ -68,7 +68,10 @@ stdenv.mkDerivation (finalAttrs: { bsd3 ]; platforms = lib.platforms.unix; - maintainers = with lib.maintainers; [ johnrtitor ]; + maintainers = with lib.maintainers; [ + johnrtitor + ccicnce113424 + ]; mainProgram = "SvtAv1EncApp"; }; })