24 copySinglePlugin = plug: "cp -r ${plug} plugins/${plug.name}";
27 ${lib.concatMapStringsSep "\n" copySinglePlugin plugins}
31 stdenv.mkDerivation rec {
35 src = fetchFromGitHub {
39 sha256 = "sha256-vkliraMsBLX05gae834R0LX4uT+XaxrfHmDkFPh1XIQ=";
56 ] ++ plugins; # for propagated build inputs
58 preConfigure = copyPlugins;
61 homepage = "https://rime.im/";
62 description = "Rime Input Method Engine, the core library";
63 license = licenses.bsd3;
64 maintainers = with maintainers; [ vonfry ];
65 platforms = platforms.linux ++ platforms.darwin;