nixpkgs/pkgs/tools/inputmethods/ibus-engines/ibus-kkc/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

34 lines
825 B
Nix

{ stdenv, fetchurl
, vala, intltool, pkgconfig
, libkkc, ibus, skk-dicts
, gtk3
}:
stdenv.mkDerivation rec {
pname = "ibus-kkc";
version = "1.5.22";
src = fetchurl {
url = "${meta.homepage}/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "1kj74c9zy9yxkjx7pz96mzqc13cf10yfmlgprr8sfd4ay192bzi2";
};
nativeBuildInputs = [
vala intltool pkgconfig
];
buildInputs = [ libkkc ibus skk-dicts gtk3 ];
postInstall = ''
ln -s ${skk-dicts}/share $out/share/skk
'';
meta = with stdenv.lib; {
isIbusEngine = true;
description = "libkkc (Japanese Kana Kanji input method) engine for ibus";
homepage = https://github.com/ueno/ibus-kkc;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ vanzef ];
};
}