1 { lib, stdenv, fetchFromGitHub, librime }:
5 version = "0.38.20231116";
7 src = fetchFromGitHub {
10 rev = "6f502ff6fa87789847fa18200415318e705bffa4";
11 sha256 = "sha256-DNSLP0dzzgJ6XzwvxGPeRqRrRIUV/GwD2+8cz9bYAwA=";
14 buildInputs = [ librime ];
16 buildFlags = [ "all" ];
17 makeFlags = [ "PREFIX=$(out)" ];
19 preBuild = import ./fetchSchema.nix fetchFromGitHub;
22 # Disable git operations.
23 sed -i /fetch_or_update_package$/d scripts/install-packages.sh
27 description = "Schema data of Rime Input Method Engine";
29 Rime-data provides schema data for Rime Input Method Engine.
31 homepage = "https://rime.im";
32 license = with licenses; [
64 maintainers = with maintainers; [ pmy ];