vivictpp: 1.1.0 -> 1.3.0

This commit is contained in:
kyehn
2025-08-30 11:29:48 +08:00
parent ebe3396323
commit 2d1f19a49b
+14 -5
View File
@@ -16,18 +16,22 @@
ffmpeg,
cacert,
zlib,
writeShellScript,
nix-update,
}:
let
version = "1.1.0";
version = "1.3.0";
withSubprojects = stdenv.mkDerivation {
name = "sources-with-subprojects";
pname = "sources-with-subprojects";
inherit version;
src = fetchFromGitHub {
owner = "vivictorg";
repo = "vivictpp";
rev = "v${version}";
hash = "sha256-ScuCOmcK714YXEHncizwj6EWdiNIJA1xRMn5gfmg4K4=";
tag = "v${version}";
fetchSubmodules = true;
hash = "sha256-yzUgLZbqEzyJINWQUTC/j33XbjSXP1vpDlgiKv6Jx9Q=";
};
nativeBuildInputs = [
@@ -45,7 +49,7 @@ let
'';
outputHashMode = "recursive";
outputHash = "sha256-/6nuTKjQEXfJlHkTkeX/A4PeGb8SOk6Q801gjx1SB6M=";
outputHash = "sha256-PtOb47QOffGje1U8Tle9AQon7ZCgMp/lITPAfM9/wr4=";
};
in
stdenv.mkDerivation {
@@ -78,6 +82,11 @@ stdenv.mkDerivation {
patchShebangs .
'';
passthru.updateScript = writeShellScript "update-vivictpp" ''
${lib.getExe nix-update} vivictpp.src
${lib.getExe nix-update} vivictpp --version skip
'';
meta = with lib; {
description = "Easy to use tool for subjective comparison of the visual quality of different encodings of the same video source";
homepage = "https://github.com/vivictorg/vivictpp";