mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
44 lines
753 B
Nix
44 lines
753 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
kdePackages,
|
|
gettext,
|
|
fcitx5,
|
|
libchewing,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fcitx5-chewing";
|
|
version = "5.1.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fcitx";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-WBCaknT1woPRmnxQP8WhJUodM5jTXYg3QP6trFw37gg=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
kdePackages.extra-cmake-modules
|
|
gettext
|
|
];
|
|
|
|
buildInputs = [
|
|
fcitx5
|
|
libchewing
|
|
];
|
|
|
|
meta = {
|
|
description = "Chewing wrapper for Fcitx5";
|
|
homepage = "https://github.com/fcitx/fcitx5-chewing";
|
|
license = lib.licenses.lgpl21Plus;
|
|
maintainers = with lib.maintainers; [ xrelkd ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|