nixpkgs/pkgs/by-name/li/libchewing/package.nix
Yueh-Shun Li e3835b2a2e libchewing: build on all platforms
The upstream has documented the MacOS and Windows build process years
ago. It therefore makes sense to remove the Linux-only platform
specification.
2024-06-07 00:53:00 +08:00

35 lines
665 B
Nix

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