nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 60 lines 1.4 kB view raw
1{ 2 lib, 3 fetchFromGitLab, 4 cmake, 5 extra-cmake-modules, 6 ffmpeg_6, 7 openal, 8 stdenv, 9 libsForQt5, 10}: 11 12stdenv.mkDerivation (finalAttrs: { 13 pname = "subtitlecomposer"; 14 version = "0.8.2"; 15 16 src = fetchFromGitLab { 17 domain = "invent.kde.org"; 18 owner = "multimedia"; 19 repo = "subtitlecomposer"; 20 rev = "v${finalAttrs.version}"; 21 hash = "sha256-zGbI960NerlOEUvhOLm+lEJdbhj8VFUfm8pkOYGRcGw="; 22 }; 23 24 nativeBuildInputs = [ 25 cmake 26 extra-cmake-modules 27 libsForQt5.wrapQtAppsHook 28 ]; 29 buildInputs = [ 30 ffmpeg_6 31 openal 32 ] 33 ++ (with libsForQt5; [ 34 kcodecs 35 kconfig 36 kconfigwidgets 37 kcoreaddons 38 ki18n 39 kio 40 ktextwidgets 41 kwidgetsaddons 42 kxmlgui 43 sonnet 44 ]); 45 46 meta = { 47 homepage = "https://apps.kde.org/subtitlecomposer"; 48 description = "Open source text-based subtitle editor"; 49 longDescription = '' 50 An open source text-based subtitle editor that supports basic and 51 advanced editing operations, aiming to become an improved version of 52 Subtitle Workshop for every platform supported by Plasma Frameworks. 53 ''; 54 changelog = "https://invent.kde.org/multimedia/subtitlecomposer/-/blob/master/ChangeLog"; 55 license = lib.licenses.gpl2Plus; 56 maintainers = with lib.maintainers; [ kugland ]; 57 mainProgram = "subtitlecomposer"; 58 platforms = with lib.platforms; linux ++ freebsd ++ windows; 59 }; 60})