3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/ffmpegthumbnailer/default.nix

35 lines
1.1 KiB
Nix
Raw Normal View History

{ fetchFromGitHub, stdenv, ffmpeg_3, cmake, libpng, pkgconfig, libjpeg
2015-05-05 00:58:33 +01:00
}:
stdenv.mkDerivation rec {
pname = "ffmpegthumbnailer";
version = "2.2.2";
2015-05-05 00:58:33 +01:00
2017-03-12 20:00:42 +00:00
src = fetchFromGitHub {
owner = "dirkvdb";
repo = "ffmpegthumbnailer";
rev = version;
sha256 = "1bakbr714j7yxdal1f5iq0gcl4cxggbbgj227ihdh5kvygqlwich";
2015-05-05 00:58:33 +01:00
};
2017-03-12 20:00:42 +00:00
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ ffmpeg_3 libpng libjpeg ];
2015-05-05 00:58:33 +01:00
meta = with stdenv.lib; {
homepage = "https://github.com/dirkvdb/ffmpegthumbnailer";
2015-05-05 00:58:33 +01: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 ];
};
}