2018-07-21 01:44:44 +01:00
|
|
|
{ fetchFromGitHub, stdenv, ffmpeg, cmake, libpng, pkgconfig, libjpeg
|
2015-05-05 00:58:33 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "ffmpegthumbnailer";
|
2019-10-01 19:55:13 +01:00
|
|
|
version = "2.2.1";
|
2015-05-05 00:58:33 +01:00
|
|
|
|
2017-03-12 20:00:42 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dirkvdb";
|
|
|
|
repo = "ffmpegthumbnailer";
|
|
|
|
rev = version;
|
2019-10-01 19:55:13 +01:00
|
|
|
sha256 = "0mcdvyzny3yrdx23f3ww0i6lgkh68nzfcdla9d4vkc8l2b1kla1j";
|
2015-05-05 00:58:33 +01:00
|
|
|
};
|
|
|
|
|
2017-03-12 20:00:42 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2017-10-07 19:55:00 +01:00
|
|
|
buildInputs = [ ffmpeg libpng libjpeg ];
|
2015-05-05 00:58:33 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/dirkvdb/ffmpegthumbnailer;
|
|
|
|
description = "A lightweight video thumbnailer";
|
|
|
|
longDescription = "FFmpegthumbnailer is a lightweight video
|
|
|
|
thumbnailer that can be used by file managers to create thumbnails
|
|
|
|
for your video files. The thumbnailer uses ffmpeg o decode frames
|
|
|
|
from the video files, so supported videoformats depend on the
|
|
|
|
configuration flags of ffmpeg.
|
|
|
|
This thumbnailer was designed to be as fast and lightweight as possible.
|
|
|
|
The only dependencies are ffmpeg and libpng.
|
|
|
|
";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.jagajaga ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|