tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
fcitx-unikey: init at 0.2.5
Hoàng Minh Thắng
9 years ago
8669d688
4b20c536
+33
2 changed files
expand all
collapse all
unified
split
pkgs
tools
inputmethods
fcitx-engines
fcitx-unikey
default.nix
top-level
all-packages.nix
+31
pkgs/tools/inputmethods/fcitx-engines/fcitx-unikey/default.nix
···
1
1
+
{ stdenv, fetchurl, cmake, fcitx, gettext, pkgconfig }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
name = "fcitx-unikey-${version}";
5
5
+
version = "0.2.5";
6
6
+
7
7
+
src = fetchurl {
8
8
+
url = "http://download.fcitx-im.org/fcitx-unikey/${name}.tar.xz";
9
9
+
sha256 = "063vc29v7ycaai98v3z4q319sv9sm91my17pmhblw1vifxnw02wf";
10
10
+
};
11
11
+
12
12
+
buildInputs = [ cmake fcitx gettext pkgconfig ];
13
13
+
14
14
+
preInstall = ''
15
15
+
substituteInPlace src/cmake_install.cmake \
16
16
+
--replace ${fcitx} $out
17
17
+
substituteInPlace data/cmake_install.cmake \
18
18
+
--replace ${fcitx} $out
19
19
+
'';
20
20
+
21
21
+
meta = with stdenv.lib; {
22
22
+
isFcitxEngine = true;
23
23
+
homepage = "https://github.com/fcitx/fcitx-unikey";
24
24
+
downloadPage = "http://download.fcitx-im.org/fcitx-table-other/";
25
25
+
description = "Fcitx wrapper for unikey";
26
26
+
license = licenses.gpl3Plus;
27
27
+
platforms = platforms.linux;
28
28
+
maintainers = with maintainers; [ ericsagnes ];
29
29
+
};
30
30
+
31
31
+
}
+2
pkgs/top-level/all-packages.nix
···
1528
1528
1529
1529
hangul = callPackage ../tools/inputmethods/fcitx-engines/fcitx-hangul { };
1530
1530
1531
1531
+
unikey = callPackage ../tools/inputmethods/fcitx-engines/fcitx-unikey { };
1532
1532
+
1531
1533
m17n = callPackage ../tools/inputmethods/fcitx-engines/fcitx-m17n { };
1532
1534
1533
1535
mozc = callPackage ../tools/inputmethods/fcitx-engines/fcitx-mozc {