2018-07-20 17:44:44 -07:00
|
|
|
{ fetchFromGitHub, stdenv, ffmpeg, cmake, libpng, pkgconfig, libjpeg
|
2015-05-04 16:58:33 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "ffmpegthumbnailer";
|
2019-10-21 08:48:38 -07:00
|
|
|
version = "2.2.2";
|
2015-05-04 16:58:33 -07:00
|
|
|
|
2017-03-12 13:00:42 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dirkvdb";
|
|
|
|
repo = "ffmpegthumbnailer";
|
|
|
|
rev = version;
|
2019-10-21 08:48:38 -07:00
|
|
|
sha256 = "1bakbr714j7yxdal1f5iq0gcl4cxggbbgj227ihdh5kvygqlwich";
|
2015-05-04 16:58:33 -07:00
|
|
|
};
|
|
|
|
|
2017-03-12 13:00:42 -07:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2017-10-07 11:55:00 -07:00
|
|
|
buildInputs = [ ffmpeg libpng libjpeg ];
|
2015-05-04 16:58:33 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/dirkvdb/ffmpegthumbnailer";
|
2015-05-04 16:58:33 -07:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|