libskk: fix parse error (#355005)

Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>
This commit is contained in:
yadokani389 2024-11-11 12:30:44 +09:00 committed by GitHub
parent b71ccf87b2
commit 8feb5e84c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub,
{ lib, stdenv, fetchFromGitHub, fetchpatch,
libtool, gettext, pkg-config,
vala, gnome-common, gobject-introspection,
libgee, json-glib, skkDictionaries, libxkbcommon }:
@ -14,6 +14,15 @@ stdenv.mkDerivation rec {
sha256 = "0y279pcgs3jrsi9vzx086xhz9jbz23dqqijp4agygc9ackp9sxy5";
};
patches = [
# fix parse error in default.json
# https://github.com/ueno/libskk/pull/90
(fetchpatch {
url = "https://github.com/ueno/libskk/commit/2382ebedc8dca88e745d223ad7badb8b73bbb0de.diff";
hash = "sha256-e1bKVteNjqmr40XI82Qar63LXPWYIfnUVlo5zQSkPNw=";
})
];
buildInputs = [ libxkbcommon ];
nativeBuildInputs = [ vala gnome-common gobject-introspection libtool gettext pkg-config ];
propagatedBuildInputs = [ libgee json-glib ];