mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
35 lines
731 B
Nix
35 lines
731 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, extra-cmake-modules
|
|
, fcitx5
|
|
, fcitx5-qt
|
|
, gettext
|
|
, wrapQtAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fcitx5-unikey";
|
|
version = "5.0.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fcitx";
|
|
repo = "fcitx5-unikey";
|
|
rev = version;
|
|
sha256 = "sha256-gGKLv+IUcLOE3jHDzK7oX2R76cUT9VXaVFGEyNN0tV4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ];
|
|
|
|
buildInputs = [ fcitx5 fcitx5-qt gettext ];
|
|
|
|
meta = with lib; {
|
|
description = "Unikey engine support for Fcitx5";
|
|
homepage = "https://github.com/fcitx/fcitx5-unikey";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ berberman ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|