about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2024-02-19 16:14:47 -0300
committerGitHub <noreply@github.com>2024-02-19 16:14:47 -0300
commitb927b88ae0437875c72a782d2d860a53d63076a3 (patch)
treedf8134b01a3e6b4a34c5bd9306203db3476d2ea1
parentec1855a94749c16a63e911cefebc95beae657d4e (diff)
parent38b1bad0379f3b8aa1d1d25208ba94f2bf3c66ae (diff)
Merge pull request #289889 from marsam/update-untrunc-anthwlock
untrunc-anthwlock: 2020.07.18 -> unstable-2021-11-21
-rw-r--r--pkgs/tools/video/untrunc-anthwlock/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/tools/video/untrunc-anthwlock/default.nix b/pkgs/tools/video/untrunc-anthwlock/default.nix
index 33ec940aebc46..6ec52db7ebfde 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";