32 stdenv.mkDerivation (finalAttrs: {
33 pname = "goldendict-ng";
36 src = fetchFromGitHub {
38 repo = "goldendict-ng";
39 rev = "v${finalAttrs.version}-LiXia.ecd1138c";
40 hash = "sha256-C/0FUFLE3R+tZyCL88BiSFOHPTanILD/fIIQ/OQBSfk=";
43 nativeBuildInputs = [ pkg-config cmake wrapQtAppsHook wrapGAppsHook3 ];
69 # to prevent double wrapping of wrapQtApps and wrapGApps
73 qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
79 "-DWITH_FFMPEG_PLAYER=ON"
80 "-DWITH_EPWING_SUPPORT=ON"
82 "-DUSE_SYSTEM_TOML=ON"
86 homepage = "https://xiaoyifang.github.io/goldendict-ng/";
87 description = "An advanced multi-dictionary lookup program";
88 platforms = platforms.linux;
89 mainProgram = "goldendict";
90 maintainers = with maintainers; [ slbtty michojel ];
91 license = licenses.gpl3Plus;