18 stdenv.mkDerivation rec {
19 pname = "krunner-translator";
22 src = fetchFromGitHub {
26 sha256 = "8MusGvNhTxa8Sm8WiSwRaVIfZOeXmgcO4T6H9LqFGLs=";
34 dontWrapQtApps = true;
48 substituteInPlace src/translateShellProcess.cpp --replace "start(\"trans\", arguments);" "start(\"${translate-shell}/bin/trans\", arguments);"
52 description = "Plugin for KRunner which integrates a translator, supports Google Translate, Bing Translator, youdao and Baidu Fanyi";
53 homepage = "https://github.com/naraesk/krunner-translator";
54 license = licenses.gpl3;
55 maintainers = with maintainers; [ pongo1231 ];
56 platforms = platforms.unix;