diff options
author | mingchuan <ming@culpring.com> | 2017-09-12 23:23:09 +0800 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-10-03 14:27:09 +0000 |
commit | 7a23eff831997b049635fe53f611633b577713f3 (patch) | |
tree | 027be423f7e1f786a52e9c777645da1834340294 /pkgs/development/libraries/librime | |
parent | 2ab2b885c5c0655f41d65362067f89d45bd85e03 (diff) |
librime: init at 1.2.9
Diffstat (limited to 'pkgs/development/libraries/librime')
-rw-r--r-- | pkgs/development/libraries/librime/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/librime/default.nix b/pkgs/development/libraries/librime/default.nix new file mode 100644 index 0000000000000..142c48c12d8f2 --- /dev/null +++ b/pkgs/development/libraries/librime/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, cmake, boost, glog, leveldb, marisa, opencc, + libyamlcpp, gmock }: + +stdenv.mkDerivation rec { + name = "librime-${version}"; + version = "1.2.9"; + + src = fetchFromGitHub { + owner = "rime"; + repo = "librime"; + rev = "rime-${version}"; + sha256 = "14jgnfm61ynm086x9v7wfmv2p14h0qp8lq4d2jqm21n821jsraj6"; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ boost glog leveldb marisa opencc libyamlcpp gmock ]; + + enableParallelBuilding = true; + + meta = with stdenv.lib; { + homepage = http://rime.im/; + description = "Rime Input Method Engine, the core library"; + license = licenses.bsd3; + maintainers = with maintainers; [ mingchuan ]; + platforms = platforms.all; + }; +} |