Merge pull request #327043 from honnip/fix-ibus-hangul

ibus-engines.hangul: bulid from git source
This commit is contained in:
Sandro 2024-07-21 21:19:52 +02:00 committed by GitHub
commit 4b38234664
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,10 +1,12 @@
{ lib, stdenv
, fetchurl
, fetchFromGitHub
, substituteAll
, appstream-glib
, gettext
, pkg-config
, wrapGAppsHook3
, gobject-introspection
, autoreconfHook
, gtk3
, ibus
, libhangul
@ -15,9 +17,11 @@ stdenv.mkDerivation rec {
pname = "ibus-hangul";
version = "1.5.5";
src = fetchurl {
url = "https://github.com/libhangul/ibus-hangul/releases/download/${version}/${pname}-${version}.tar.xz";
sha256 = "sha256-parIgobNGJYCKYYOPhp3iXinrqpIStms+kgoS4f9w7s=";
src = fetchFromGitHub {
owner = "libhangul";
repo = "ibus-hangul";
rev = version;
hash = "sha256-x2oOW8eiEuwmdCGUo+r/KcsitfGccSyianwIEaOBS3M=";
};
patches = [
@ -32,6 +36,8 @@ stdenv.mkDerivation rec {
gettext
pkg-config
wrapGAppsHook3
gobject-introspection.setupHook
autoreconfHook
];
buildInputs = [