vidcutter: init at 6.0.5.3 (#353504)

This commit is contained in:
Aleksana 2024-11-24 21:15:43 +08:00 committed by GitHub
commit 549b6df404
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,67 @@
{
lib,
fetchFromGitHub,
ffmpeg,
mediainfo,
mpv,
python3Packages,
qt5,
}:
let
version = "6.0.5.3";
in
python3Packages.buildPythonApplication {
pname = "vidcutter";
inherit version;
src = fetchFromGitHub {
owner = "ozmartian";
repo = "vidcutter";
rev = "refs/tags/${version}";
hash = "sha256-MCltdvXgsZgPh0ezGvWFEa5vZVDBc6r0WxvXSLf4x2Y=";
};
pyproject = true;
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
buildInputs = [
mpv
qt5.qtwayland
];
build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
pyopengl
pyqt5
simplejson
];
dontWrapQtApps = true;
makeWrapperArgs = [
"\${qtWrapperArgs[@]}"
"--prefix PATH : ${
lib.makeBinPath [
ffmpeg
mediainfo
]
}"
];
meta = {
description = "Modern yet simple multi-platform video cutter and joiner";
longDescription = ''
A modern, simple to use, constantly evolving and hella fast MEDIA CUTTER + JOINER
with frame-accurate SmartCut technology, chapter support, media stream selection for audio + subtitle channels
and blackdetect video filter support to automatically detect scene changes or skip commercials in digital TV recordings.
'';
homepage = "https://vidcutter.ozmartians.com/";
changelog = "https://github.com/ozmartian/vidcutter/blob/master/CHANGELOG";
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.zi3m5f ];
mainProgram = "vidcutter";
};
}