diff --git a/pkgs/by-name/va/vapoursynth-bestsource/package.nix b/pkgs/by-name/va/vapoursynth-bestsource/package.nix index 843baf11eaa2..965f7aa071a3 100644 --- a/pkgs/by-name/va/vapoursynth-bestsource/package.nix +++ b/pkgs/by-name/va/vapoursynth-bestsource/package.nix @@ -4,16 +4,16 @@ fetchFromGitHub, meson, ninja, - cmake, pkg-config, vapoursynth, ffmpeg, xxHash, + gitUpdater, }: stdenv.mkDerivation (finalAttrs: { pname = "vapoursynth-bestsource"; - version = "6"; + version = "11"; outputs = [ "out" @@ -25,19 +25,18 @@ stdenv.mkDerivation (finalAttrs: { owner = "vapoursynth"; repo = "bestsource"; tag = "R${finalAttrs.version}"; - hash = "sha256-ICkdIomlkHUdK6kMeui45fvUn4OMxSrP8svB2IN+GCg="; + hash = "sha256-/hRjo7MQhm/ANUC38p9btOO5ek4Q6IaeKtcSbTzD3BQ="; }; nativeBuildInputs = [ meson ninja - cmake pkg-config ]; buildInputs = [ vapoursynth - ffmpeg + (ffmpeg.override { withLcms2 = true; }) xxHash ]; @@ -46,6 +45,11 @@ stdenv.mkDerivation (finalAttrs: { --replace-fail "vapoursynth_dep.get_variable(pkgconfig: 'libdir')" "get_option('libdir')" ''; + passthru.updateScript = gitUpdater { + rev-prefix = "R"; + ignoredVersions = "*-RC*"; + }; + meta = { description = "Wrapper library around FFmpeg that ensures sample and frame accurate access to audio and video"; homepage = "https://github.com/vapoursynth/bestsource";