1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix

30 lines
805 B
Nix
Raw Normal View History

{ stdenv, lib, fetchurl, cmake, fcitx, pkgconfig, qtbase, extra-cmake-modules }:
2015-11-25 06:01:45 +00:00
stdenv.mkDerivation rec {
name = "fcitx-qt5-${version}";
2017-04-26 07:47:58 +01:00
version = "1.1.0";
2015-11-25 06:01:45 +00:00
src = fetchurl {
url = "http://download.fcitx-im.org/fcitx-qt5/${name}.tar.xz";
2017-04-26 07:47:58 +01:00
sha256 = "0r8c5k0qin3mz2p1mdciip6my0x58662sx5z50zs4c5pkdg21qwv";
2015-11-25 06:01:45 +00:00
};
nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig ];
buildInputs = [ fcitx qtbase ];
2015-11-25 06:01:45 +00:00
preInstall = ''
substituteInPlace platforminputcontext/cmake_install.cmake \
2016-04-20 04:59:13 +01:00
--replace ${qtbase.out} $out
2015-11-25 06:01:45 +00:00
'';
meta = with stdenv.lib; {
homepage = "https://github.com/fcitx/fcitx-qt5";
description = "Qt5 IM Module for Fcitx";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ ericsagnes ];
};
}