Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #311175 from chewblacka/update-ffmpegthumbnailer

ffmpegthumbnailer: unstable-2022-02-18 -> unstable-2024-01-04

authored by Sandro and committed by GitHub 04496f01 cb7884d6

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