6214e1d82b
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/librime/versions. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 1.3.1 with grep in /nix/store/xpam0vd7m94cd2v53szc6y270l3qsp1n-librime-1.3.1 - directory tree listing: https://gist.github.com/52addb8eb8a8dc5778cc5ef320fd6b1e
29 lines
736 B
Nix
29 lines
736 B
Nix
{ stdenv, fetchFromGitHub, cmake, boost, glog, leveldb, marisa, opencc,
|
|
libyamlcpp, gmock }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "librime-${version}";
|
|
version = "1.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rime";
|
|
repo = "librime";
|
|
rev = "${version}";
|
|
sha256 = "1y0h3nnz97smx9z8h5fzk4c27mvrwv8kajxffqc43bhyvxvb2jd6";
|
|
};
|
|
|
|
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; [ sifmelcara ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|