Want to contribute? Fork me on Codeberg.org!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
750 B

2 years ago
{ lib, stdenv, fetchurl, cmake, extra-cmake-modules, pkg-config, fcitx5, anthy, gettext }:
stdenv.mkDerivation rec {
pname = "fcitx5-anthy";
version = "5.0.13";
src = fetchurl {
url = "https://download.fcitx-im.org/fcitx5/fcitx5-anthy/${pname}-${version}.tar.xz";
sha256 = "EGpyYiNalm4En3Oa++hyOSPLhjbkVcDyZt3LqamfSOI=";
};
nativeBuildInputs = [ cmake extra-cmake-modules pkg-config ];
buildInputs = [ fcitx5 anthy gettext ];
preinstall = ''
substituteInPlace src/cmake_install.cmake \
--replace ${fcitx5} $out
'';
meta = with lib; {
description = "Anthy Wrapper for Fcitx5";
homepage = "https://github.com/fcitx/fcitx5-anthy";
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}