diff --git a/pkgs/tools/video/untrunc-anthwlock/default.nix b/pkgs/tools/video/untrunc-anthwlock/default.nix index 33ec940aebc4..6ec52db7ebfd 100644 --- a/pkgs/tools/video/untrunc-anthwlock/default.nix +++ b/pkgs/tools/video/untrunc-anthwlock/default.nix @@ -1,16 +1,18 @@ -{ lib, stdenv, fetchFromGitHub, ffmpeg_4, libui }: +{ lib, stdenv, fetchFromGitHub, ffmpeg_4, libui, unstableGitUpdater, wrapGAppsHook }: stdenv.mkDerivation { pname = "untrunc-anthwlock"; - version = "2020.07.18"; + version = "unstable-2021-11-21"; src = fetchFromGitHub { owner = "anthwlock"; repo = "untrunc"; - rev = "a0bf2e8642ecdb7af5897ed9b0dd30a7d03520ae"; - sha256 = "14i2lq68q990hnm2kkfamlsi67bcml85zl8yjsyxc5h8ncc2f3dp"; + rev = "d72ec324fbc29eb00b53c7dafeef09f92308962b"; + hash = "sha256-h+aFPhlbEM6EfCKbsJPelBY5ys7kv5K4rbK/HTHeEcw="; }; + nativeBuildInputs = [ wrapGAppsHook ]; + buildInputs = [ ffmpeg_4 libui ]; buildPhase = '' @@ -28,6 +30,8 @@ stdenv.mkDerivation { enableParallelBuilding = true; + passthru.updateScript = unstableGitUpdater { }; + meta = with lib; { description = "Restore a truncated mp4/mov (improved version of ponchio/untrunc)"; homepage = "https://github.com/anthwlock/untrunc";