forked from mirrors/nixpkgs
66b05cd4e6
This is needed now that PYTHONPATH is not propagated. Also several packages with additional dependencies are now properly wrapped.
29 lines
800 B
Nix
29 lines
800 B
Nix
{ stdenv, fetchurl, intltool, pkgconfig
|
|
, gtk3, ibus, libhangul, librsvg, python3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ibus-hangul-${version}";
|
|
version = "1.5.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/choehwanjin/ibus-hangul/releases/download/${version}/${name}.tar.gz";
|
|
sha256 = "120p9w7za6hi521hz8q235fkl4i3p1qqr8nqm4a3kxr0pcq40bd2";
|
|
};
|
|
|
|
buildInputs = [ gtk3 ibus libhangul ];
|
|
|
|
nativeBuildInputs = [ intltool pkgconfig python3.pkgs.wrapPython ];
|
|
|
|
postFixup = "wrapPythonPrograms";
|
|
|
|
meta = with stdenv.lib; {
|
|
isIbusEngine = true;
|
|
description = "Ibus Hangul engine";
|
|
homepage = https://github.com/choehwanjin/ibus-hangul;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ ericsagnes ];
|
|
};
|
|
}
|