···1-{ fetchFromGitHub, lib, stdenv, ffmpeg-headless, cmake, libpng, pkg-config, libjpeg
000000002}:
34stdenv.mkDerivation rec {
5 pname = "ffmpegthumbnailer";
6- version = "unstable-2022-02-18";
78 src = fetchFromGitHub {
9 owner = "dirkvdb";
10 repo = "ffmpegthumbnailer";
11- rev = "3db9fe895b2fa656bb40ddb7a62e27604a688171";
12- sha256 = "0606pbg391l4s8mpyyalm9zrcnm75fwqdlrxy2gif9n21i2fm3rc";
13 };
1415- nativeBuildInputs = [ cmake pkg-config ];
16- buildInputs = [ ffmpeg-headless libpng libjpeg ];
00000000017 cmakeFlags = [ "-DENABLE_THUMBNAILER=ON" ];
1819 # https://github.com/dirkvdb/ffmpegthumbnailer/issues/215
···22 --replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
23 '';
2425- meta = with lib; {
26- homepage = "https://github.com/dirkvdb/ffmpegthumbnailer";
27 description = "A lightweight video thumbnailer";
28- mainProgram = "ffmpegthumbnailer";
29 longDescription = "FFmpegthumbnailer is a lightweight video
30 thumbnailer that can be used by file managers to create thumbnails
31- for your video files. The thumbnailer uses ffmpeg o decode frames
32 from the video files, so supported videoformats depend on the
33 configuration flags of ffmpeg.
34 This thumbnailer was designed to be as fast and lightweight as possible.
35- The only dependencies are ffmpeg and libpng.
36 ";
37- platforms = platforms.unix;
38 license = licenses.gpl2Plus;
39 maintainers = [ maintainers.jagajaga ];
0040 };
41-42}
···1+{
2+ lib,
3+ stdenv,
4+ fetchFromGitHub,
5+ cmake,
6+ pkg-config,
7+ ffmpeg-headless,
8+ libpng,
9+ libjpeg,
10}:
1112stdenv.mkDerivation rec {
13 pname = "ffmpegthumbnailer";
14+ version = "unstable-2024-01-04";
1516 src = fetchFromGitHub {
17 owner = "dirkvdb";
18 repo = "ffmpegthumbnailer";
19+ rev = "1b5a77983240bcf00a4ef7702c07bcd8f4e5f97c";
20+ hash = "sha256-7SPRQMPgdvP7J3HCf7F1eXxZjUH5vCYZ9UOwTUFMLp0=";
21 };
2223+ nativeBuildInputs = [
24+ cmake
25+ pkg-config
26+ ];
27+28+ buildInputs = [
29+ ffmpeg-headless
30+ libpng
31+ libjpeg
32+ ];
33+34 cmakeFlags = [ "-DENABLE_THUMBNAILER=ON" ];
3536 # https://github.com/dirkvdb/ffmpegthumbnailer/issues/215
···39 --replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
40 '';
4142+ meta = with lib; {
043 description = "A lightweight video thumbnailer";
044 longDescription = "FFmpegthumbnailer is a lightweight video
45 thumbnailer that can be used by file managers to create thumbnails
46+ for your video files. The thumbnailer uses ffmpeg to decode frames
47 from the video files, so supported videoformats depend on the
48 configuration flags of ffmpeg.
49 This thumbnailer was designed to be as fast and lightweight as possible.
50+ The only dependencies are ffmpeg and libpng/libjpeg.
51 ";
52+ homepage = "https://github.com/dirkvdb/ffmpegthumbnailer";
53 license = licenses.gpl2Plus;
54 maintainers = [ maintainers.jagajaga ];
55+ platforms = platforms.unix;
56+ mainProgram = "ffmpegthumbnailer";
57 };
058}