nixpkgs/pkgs/by-name/li/libchewing/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
665 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitHub,
cmake,
sqlite,
}:
2015-11-25 05:50:40 +00:00
2024-05-25 08:05:51 +00:00
stdenv.mkDerivation (finalAttrs: {
pname = "libchewing";
version = "0.6.0";
2015-11-25 05:50:40 +00:00
src = fetchFromGitHub {
owner = "chewing";
repo = "libchewing";
rev = "v${finalAttrs.version}";
sha256 = "sha256-X+4Rr5Mfc4qeJxmHczu4MKgHBvQN1rhqUrJSx8SFnDk=";
2015-11-25 05:50:40 +00:00
};
buildInputs = [ sqlite ];
nativeBuildInputs = [ cmake ];
meta = with lib; {
2015-11-25 05:50:40 +00:00
description = "Intelligent Chinese phonetic input method";
homepage = "https://chewing.im/";
license = licenses.lgpl21Only;
maintainers = with maintainers; [
ericsagnes
ShamrockLee
];
platforms = platforms.all;
2015-11-25 05:50:40 +00:00
};
2024-05-25 08:05:51 +00:00
})