Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 42 lines 773 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 cmake, 6 extra-cmake-modules, 7 pkg-config, 8 fcitx5, 9 anthy, 10 gettext, 11 zstd, 12}: 13 14stdenv.mkDerivation rec { 15 pname = "fcitx5-anthy"; 16 version = "5.1.6"; 17 18 src = fetchurl { 19 url = "https://download.fcitx-im.org/fcitx5/fcitx5-anthy/${pname}-${version}.tar.zst"; 20 hash = "sha256-XIgzYHiSE/PHNGUt68IZXKahPwYOZ3O0bq/KO1MrnCI="; 21 }; 22 23 nativeBuildInputs = [ 24 cmake 25 extra-cmake-modules 26 gettext # msgfmt 27 pkg-config 28 zstd 29 ]; 30 buildInputs = [ 31 fcitx5 32 anthy 33 ]; 34 35 meta = with lib; { 36 description = "Anthy Wrapper for Fcitx5"; 37 homepage = "https://github.com/fcitx/fcitx5-anthy"; 38 license = licenses.gpl2Plus; 39 maintainers = with maintainers; [ elnudev ]; 40 platforms = platforms.linux; 41 }; 42}