|
|
|
@ -2,22 +2,18 @@ |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
pname = "ibus-table-others"; |
|
|
|
|
version = "1.3.12"; |
|
|
|
|
version = "1.3.13"; |
|
|
|
|
|
|
|
|
|
src = fetchurl { |
|
|
|
|
url = "https://github.com/moebiuscurve/ibus-table-others/releases/download/${version}/${pname}-${version}.tar.gz"; |
|
|
|
|
sha256 = "sha256-2k7JtLr+zO71rbTz11CCiIPx+orn0dw/Y8m47WfRDEU="; |
|
|
|
|
sha256 = "sha256-XN11iOShWyzRzmo/Ke+1Qh//o4ZhsmJWimgA1by2VZo="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ]; |
|
|
|
|
buildInputs = [ ibus ibus-table python3 ]; |
|
|
|
|
|
|
|
|
|
preBuild = '' |
|
|
|
|
export HOME=$(mktemp -d)/ibus-table-others |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
postFixup = '' |
|
|
|
|
rm -rf $HOME |
|
|
|
|
export HOME=$TMPDIR |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|