diff options
author | Shamrock Lee <44064051+ShamrockLee@users.noreply.github.com> | 2021-04-24 08:09:48 +0800 |
---|---|---|
committer | Shamrock Lee <44064051+ShamrockLee@users.noreply.github.com> | 2021-04-25 15:17:19 +0800 |
commit | 688990ec8914791628704b445dfefe3f6ae93e3d (patch) | |
tree | b9297a86347b4f37799bc6ae90e7f93ad280ee77 /pkgs/development/libraries/libchewing/default.nix | |
parent | aa6afa7fd019eb9b69290b695bb0b71da7cc184d (diff) | |
download | nixpkgs-688990ec8914791628704b445dfefe3f6ae93e3d.tar nixpkgs-688990ec8914791628704b445dfefe3f6ae93e3d.tar.gz nixpkgs-688990ec8914791628704b445dfefe3f6ae93e3d.tar.bz2 nixpkgs-688990ec8914791628704b445dfefe3f6ae93e3d.tar.lz nixpkgs-688990ec8914791628704b445dfefe3f6ae93e3d.tar.xz nixpkgs-688990ec8914791628704b445dfefe3f6ae93e3d.tar.zst nixpkgs-688990ec8914791628704b445dfefe3f6ae93e3d.zip |
libchewing: 0.5.1 -> unstable-2020-06-27
If applied, users will be able to benefit from several bug fixes that stops the program from polluting their vocabulary database. There have been almost 5 years since v0.5.1 was released. Many important bugfix such as https://github.com/chewing/libchewing/pull/277 the fix for https://github.com/chewing/libchewing/issues/232 the error of incorrect phrases being stored into the user vocabulary database. There has almost been a year since the last commit on master, and it is quite stable on my laptop.
Diffstat (limited to 'pkgs/development/libraries/libchewing/default.nix')
-rw-r--r-- | pkgs/development/libraries/libchewing/default.nix | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/pkgs/development/libraries/libchewing/default.nix b/pkgs/development/libraries/libchewing/default.nix index 1436d4bd59d..c6b7841ca40 100644 --- a/pkgs/development/libraries/libchewing/default.nix +++ b/pkgs/development/libraries/libchewing/default.nix @@ -1,20 +1,24 @@ -{ lib, stdenv, fetchurl, sqlite }: +{ lib, stdenv, fetchFromGitHub, sqlite, cmake }: stdenv.mkDerivation rec { pname = "libchewing"; - version = "0.5.1"; + version = "unstable-2020-06-27"; - src = fetchurl { - url = "https://github.com/chewing/libchewing/releases/download/v${version}/libchewing-${version}.tar.bz2"; - sha256 = "0aqp2vqgxczydpn7pxi7r6xf3l1hgl710f0gbi1k8q7s2lscc24p"; + 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 = "http://chewing.im/"; - license = licenses.lgpl21; + license = licenses.lgpl21Only; maintainers = [ maintainers.ericsagnes ]; platforms = platforms.linux; }; |