31 stdenv.mkDerivation (finalAttrs: {
32 pname = "goldendict-ng";
35 src = fetchFromGitHub {
37 repo = "goldendict-ng";
38 rev = "v${finalAttrs.version}-Release.ca9dd133";
39 hash = "sha256-HvXC9fNLDZAEtXNjzFmaKz9Ih3n4Au69NPMuVeCiQPk=";
42 nativeBuildInputs = [ pkg-config cmake wrapQtAppsHook wrapGAppsHook3 ];
66 # to prevent double wrapping of wrapQtApps and wrapGApps
70 qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
76 "-DWITH_FFMPEG_PLAYER=OFF"
77 "-DWITH_EPWING_SUPPORT=ON"
79 "-DUSE_SYSTEM_TOML=ON"
83 homepage = "https://xiaoyifang.github.io/goldendict-ng/";
84 description = "Advanced multi-dictionary lookup program";
85 platforms = platforms.linux;
86 mainProgram = "goldendict";
87 maintainers = with maintainers; [ slbtty michojel ];
88 license = licenses.gpl3Plus;