Merge pull request #289889 from marsam/update-untrunc-anthwlock

untrunc-anthwlock: 2020.07.18 -> unstable-2021-11-21
This commit is contained in:
José Romildo Malaquias 2024-02-19 16:14:47 -03:00 committed by GitHub
commit b927b88ae0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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";