diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libchewing')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libchewing/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libchewing/default.nix b/nixpkgs/pkgs/development/libraries/libchewing/default.nix new file mode 100644 index 000000000000..7cfa864fc06f --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libchewing/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchFromGitHub, sqlite, cmake }: + +stdenv.mkDerivation rec { + pname = "libchewing"; + version = "unstable-2020-06-27"; + + src = fetchFromGitHub { + owner = "chewing"; + repo = "libchewing"; + rev = "452f6221fbad90c0706a3963b17e226216e40dd7"; + sha256 = "sha256-w3/K2O/CU+XVzqzVCYJyq1vLgToN6iIUhJ9J7ia4p9E="; + }; + + buildInputs = [ sqlite ]; + + nativeBuildInputs = [ cmake ]; + + meta = with lib; { + description = "Intelligent Chinese phonetic input method"; + homepage = "https://chewing.im/"; + license = licenses.lgpl21Only; + maintainers = [ maintainers.ericsagnes ]; + platforms = platforms.linux; + }; +} |