vidcutter: init at 6.0.5.3

This commit is contained in:
zi3m5f 2024-11-03 22:00:45 +01:00
parent f946d35512
commit d19b53a571
No known key found for this signature in database

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