nixpkgs/pkgs/development/libraries/ffmpegthumbnailer/default.nix

35 lines
1.1 KiB
Nix
Raw Normal View History

2017-03-12 23:00:42 +03:00
{ pkgs, fetchFromGitHub, stdenv, ffmpeg, cmake, libpng, pkgconfig
2015-05-05 02:58:33 +03:00
}:
stdenv.mkDerivation rec {
name = "ffmpegthumbnailer-${version}";
2017-03-12 23:00:42 +03:00
version = "2.2.0";
2015-05-05 02:58:33 +03:00
2017-03-12 23:00:42 +03:00
src = fetchFromGitHub {
owner = "dirkvdb";
repo = "ffmpegthumbnailer";
rev = version;
sha256 = "0kl8aa547icy9b05njps02a8sw4yn4f8fzs228kig247sn09s4cp";
2015-05-05 02:58:33 +03:00
};
2017-03-12 23:00:42 +03:00
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ ffmpeg libpng ];
2015-05-05 02:58:33 +03: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 ];
};
}