841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
26 lines
727 B
Nix
26 lines
727 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, boost, glog, leveldb, marisa, opencc,
|
|
libyamlcpp, gtest, capnproto, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "librime";
|
|
version = "1.7.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rime";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-GzNMwyJR9PgJN0eGYbnBW6LS3vo4SUVLdyNG9kcEE18=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [ boost glog leveldb marisa opencc libyamlcpp gtest capnproto ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://rime.im/";
|
|
description = "Rime Input Method Engine, the core library";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ sifmelcara ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|