nixpkgs/pkgs/tools/inputmethods/ibus-engines/ibus-libpinyin/default.nix
R. RyanTM 8539dec47a ibus-engines.libpinyin: 1.9.3 -> 1.10.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/ibus-libpinyin/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 1.10.0 with grep in /nix/store/4ya0a61mnwzvlphi2a39q3wz8srak0g5-ibus-libpinyin-1.10.0
- directory tree listing: https://gist.github.com/920acb2f5a3bfd5b8d50bff07772754e
2018-04-20 04:51:53 -07:00

33 lines
868 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook
, intltool, pkgconfig, sqlite, libpinyin, db
, ibus, glib, gtk3, python3
}:
stdenv.mkDerivation rec {
name = "ibus-libpinyin-${version}";
version = "1.10.0";
src = fetchFromGitHub {
owner = "libpinyin";
repo = "ibus-libpinyin";
rev = version;
sha256 = "0zkzz6ig74nws8phqxbsggnpf5g5f2hxi0mdyn2m3s4nm14q3ma6";
};
buildInputs = [ ibus glib sqlite libpinyin python3 gtk3 db ];
nativeBuildInputs = [ autoreconfHook intltool pkgconfig python3.pkgs.wrapPython ];
postAutoreconf = ''
intltoolize
'';
postFixup = "wrapPythonPrograms";
meta = with stdenv.lib; {
isIbusEngine = true;
description = "IBus interface to the libpinyin input method";
license = licenses.gpl2;
maintainers = with maintainers; [ ericsagnes ];
platforms = platforms.linux;
};
}