nixpkgs/pkgs/development/libraries/librime/default.nix

29 lines
724 B
Nix
Raw Normal View History

2017-09-12 15:23:09 +00:00
{ stdenv, fetchFromGitHub, cmake, boost, glog, leveldb, marisa, opencc,
libyamlcpp, gmock }:
stdenv.mkDerivation rec {
2019-06-07 02:30:03 +00:00
pname = "librime";
2019-06-16 14:35:40 +00:00
version = "1.5.3";
2017-09-12 15:23:09 +00:00
src = fetchFromGitHub {
owner = "rime";
repo = "librime";
2019-09-08 23:38:31 +00:00
rev = version;
2019-06-16 14:35:40 +00:00
sha256 = "0xskhdhk7dgpc71r39pfzxi5vrlzy90aqj1gzv8nnapq91p2awhv";
2017-09-12 15:23:09 +00:00
};
nativeBuildInputs = [ cmake ];
buildInputs = [ boost glog leveldb marisa opencc libyamlcpp gmock ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
2019-06-16 14:35:40 +00:00
homepage = "https://rime.im/";
2017-09-12 15:23:09 +00:00
description = "Rime Input Method Engine, the core library";
license = licenses.bsd3;
maintainers = with maintainers; [ sifmelcara ];
2018-03-11 14:56:09 +00:00
platforms = platforms.linux;
2017-09-12 15:23:09 +00:00
};
}