mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 21:57:02 +03:00
27 lines
728 B
Nix
27 lines
728 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, boost, glog, leveldb, marisa, opencc,
|
|
libyamlcpp, gtest, capnproto, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "librime";
|
|
version = "1.7.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rime";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "023c7bpfnyf8wlrssn89ziwsjccflyanrxlaqmwcbx8a5dvipk01";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|