mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
01d4e2fe33
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that used `ffmpeg` without requiring a specific version now use ffmpeg_3 explicitly so they shouldn't change.
35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
{ fetchFromGitHub, stdenv, ffmpeg_3, cmake, libpng, pkgconfig, libjpeg
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ffmpegthumbnailer";
|
|
version = "2.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dirkvdb";
|
|
repo = "ffmpegthumbnailer";
|
|
rev = version;
|
|
sha256 = "1bakbr714j7yxdal1f5iq0gcl4cxggbbgj227ihdh5kvygqlwich";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
buildInputs = [ ffmpeg_3 libpng libjpeg ];
|
|
|
|
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 ];
|
|
};
|
|
|
|
}
|