libpinyin: 2.8.1 -> 2.10.0 (#384138)

This commit is contained in:
Nick Cao
2025-02-23 09:52:52 -05:00
committed by GitHub
+9 -9
View File
@@ -11,19 +11,19 @@
let
modelData = fetchurl {
url = "mirror://sourceforge/libpinyin/models/model19.text.tar.gz";
sha256 = "02zml6m8sj5q97ibpvaj9s9yz3gfj0jnjrfhkn02qv4nwm72lhjn";
url = "mirror://sourceforge/libpinyin/models/model20.text.tar.gz";
hash = "sha256-WcaOidQ/+F9aMJSJSZy83igtKwS9kYiHNIhLfe/LEVU=";
};
in
stdenv.mkDerivation rec {
pname = "libpinyin";
version = "2.8.1";
version = "2.10.0";
src = fetchFromGitHub {
owner = "libpinyin";
repo = "libpinyin";
rev = version;
hash = "sha256-3+CBbjCaY0Ubyphf0uCfYvF2rtc9fF1eEAM1doonjHg=";
tag = version;
hash = "sha256-WUC1l+8q4TYDVbKwwk9lG5Wc5DM52BaZefcre0WQoBE=";
};
postUnpack = ''
@@ -42,14 +42,14 @@ stdenv.mkDerivation rec {
db
];
meta = with lib; {
meta = {
description = "Library for intelligent sentence-based Chinese pinyin input method";
homepage = "https://github.com/libpinyin/libpinyin";
license = licenses.gpl3Plus;
maintainers = with maintainers; [
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
linsui
ericsagnes
];
platforms = platforms.linux;
platforms = lib.platforms.linux;
};
}