mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
41 lines
710 B
Nix
41 lines
710 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, extra-cmake-modules
|
|
, gettext
|
|
, fcitx5
|
|
, libchewing
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fcitx5-chewing";
|
|
version = "5.0.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fcitx";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-3VC6hp8WN6Ttfw5TcpgjTUYxXJxmU6SUw7ZfjR+Laig=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
extra-cmake-modules
|
|
gettext
|
|
];
|
|
|
|
buildInputs = [
|
|
fcitx5
|
|
libchewing
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Chewing wrapper for Fcitx5";
|
|
homepage = "https://github.com/fcitx/fcitx5-chewing";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ xrelkd ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|