diff options
author | Arseniy Seroka <ars.seroka@gmail.com> | 2015-05-05 02:58:33 +0300 |
---|---|---|
committer | Arseniy Seroka <ars.seroka@gmail.com> | 2015-05-05 02:59:25 +0300 |
commit | eaa5e2309f8de5320ce00e0af1158f5e0573f56c (patch) | |
tree | 3b3a038a852b483628c91f67f5bf3b2d6b6aed37 /pkgs/development/libraries/ffmpegthumbnailer | |
parent | b7aeeee0436f6d0902d5ae5af068644d5252846e (diff) |
spacefm: update and add dep
Diffstat (limited to 'pkgs/development/libraries/ffmpegthumbnailer')
-rw-r--r-- | pkgs/development/libraries/ffmpegthumbnailer/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/libraries/ffmpegthumbnailer/default.nix b/pkgs/development/libraries/ffmpegthumbnailer/default.nix new file mode 100644 index 0000000000000..df1c532f6330a --- /dev/null +++ b/pkgs/development/libraries/ffmpegthumbnailer/default.nix @@ -0,0 +1,31 @@ +{ pkgs, fetchurl, stdenv, ffmpeg, cmake, libpng, pkgconfig +}: + +stdenv.mkDerivation rec { + name = "ffmpegthumbnailer-${version}"; + version = "2.0.10"; + + src = fetchurl { + url = "https://github.com/dirkvdb/ffmpegthumbnailer/releases/download/${version}/${name}.tar.bz2"; + sha256 = "0q7ws7ysw2rwr6ja8rhdjcc7x1hrlga7n514wi4lhw1yma32q0m3"; + }; + + buildInputs = [ ffmpeg cmake libpng pkgconfig ]; + + 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 ]; + }; + +} |