nixpkgs-suyu/pkgs/tools/inputmethods/fcitx-engines/fcitx-anthy/default.nix

29 lines
738 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, cmake, fcitx, anthy, gettext, pkg-config }:
2014-08-27 11:05:14 +02:00
stdenv.mkDerivation rec {
pname = "fcitx-anthy";
2021-04-28 12:37:26 +02:00
version = "0.2.4";
2014-08-27 11:05:14 +02:00
src = fetchurl {
url = "http://download.fcitx-im.org/fcitx-anthy/${pname}-${version}.tar.xz";
2021-04-28 12:37:26 +02:00
sha256 = "sha256-Hxhs2RXuFf/bhczcQ3+Zj+gI3+Z4BEfIzMIfUOUNX7M=";
2014-08-27 11:05:14 +02:00
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ fcitx anthy gettext ];
2014-08-27 11:05:14 +02:00
preInstall = ''
substituteInPlace src/cmake_install.cmake \
--replace ${fcitx} $out
'';
2015-11-25 07:27:25 +01:00
meta = with lib; {
2015-11-25 08:29:50 +01:00
isFcitxEngine = true;
description = "Fcitx Wrapper for anthy";
license = licenses.gpl2Plus;
platforms = platforms.linux;
2016-03-13 09:08:15 +01:00
maintainers = with maintainers; [ ericsagnes ];
2015-11-25 07:27:25 +01:00
};
2014-08-27 11:05:14 +02:00
}