lol

fcitx-engines.rime: init at 0.3.2

authored by

mingchuan and committed by
Orivej Desh
53c8e235 906f73fd

+37
+35
pkgs/tools/inputmethods/fcitx-engines/fcitx-rime/default.nix
··· 1 + { stdenv, fetchurl, cmake, pkgconfig, fcitx, librime, brise, hicolor_icon_theme }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "fcitx-rime-${version}"; 5 + version = "0.3.2"; 6 + 7 + src = fetchurl { 8 + url = "https://download.fcitx-im.org/fcitx-rime/${name}.tar.xz"; 9 + sha256 = "0bd8snfa6jr8dhnm0s0z021iryh5pbaf7p15rhkgbigw2pssczpr"; 10 + }; 11 + 12 + buildInputs = [ cmake pkgconfig fcitx librime brise hicolor_icon_theme ]; 13 + 14 + # cmake cannont automatically find our nonstandard brise install location 15 + cmakeFlags = [ "-DRIME_DATA_DIR=${brise}/share/rime-data" ]; 16 + 17 + preInstall = '' 18 + substituteInPlace src/cmake_install.cmake \ 19 + --replace ${fcitx} $out 20 + substituteInPlace data/cmake_install.cmake \ 21 + --replace ${fcitx} $out 22 + ''; 23 + 24 + enableParallelBuilding = true; 25 + 26 + meta = with stdenv.lib; { 27 + isFcitxEngine = true; 28 + homepage = https://github.com/fcitx/fcitx-rime; 29 + downloadPage = https://download.fcitx-im.org/fcitx-rime/; 30 + description = "Rime support for Fcitx"; 31 + license = licenses.gpl2; 32 + platforms = platforms.linux; 33 + maintainers = with maintainers; [ mingchuan ]; 34 + }; 35 + }
+2
pkgs/top-level/all-packages.nix
··· 1953 1953 1954 1954 unikey = callPackage ../tools/inputmethods/fcitx-engines/fcitx-unikey { }; 1955 1955 1956 + rime = callPackage ../tools/inputmethods/fcitx-engines/fcitx-rime { }; 1957 + 1956 1958 m17n = callPackage ../tools/inputmethods/fcitx-engines/fcitx-m17n { }; 1957 1959 1958 1960 mozc = callPackage ../tools/inputmethods/fcitx-engines/fcitx-mozc rec {