mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 21:13:40 +00:00
e3835b2a2e
The upstream has documented the MacOS and Windows build process years ago. It therefore makes sense to remove the Linux-only platform specification.
35 lines
665 B
Nix
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;
|
|
};
|
|
})
|