mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
ibus-engines.uniemoji: init at 2016-09-20
This commit is contained in:
parent
237d049f3e
commit
95e16c70aa
2 changed files with 35 additions and 0 deletions
|
@ -0,0 +1,34 @@
|
|||
{ stdenv, fetchFromGitHub
|
||||
, python3Packages
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ibus-uniemoji-${version}";
|
||||
version = "2016-09-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "salty-horse";
|
||||
repo = "ibus-uniemoji";
|
||||
rev = "c8931a4807a721168e45463ecba00805adb3fe8d";
|
||||
sha256 = "0fydxkdjsbfbrbb8238rfnshmhp11c38hsa7y2gp1ii6mkjngb1j";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ pyxdg python-Levenshtein ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "SYSCONFDIR=$(out)/etc"
|
||||
"PYTHON=${python3Packages.python.interpreter}" ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i "s,/etc/xdg/,$out/etc/xdg/," uniemoji.py
|
||||
sed -i "s,/usr/share/,$out/share/,g" uniemoji.xml.in
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
isIbusEngine = true;
|
||||
description = "Input method (ibus) for entering unicode symbols and emoji by name";
|
||||
homepage = "https://github.com/salty-horse/ibus-uniemoji";
|
||||
license = with licenses; [ gpl3 mit ];
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ aske ];
|
||||
};
|
||||
}
|
|
@ -1182,6 +1182,7 @@ in
|
|||
ibus-table = ibus-engines.table;
|
||||
};
|
||||
|
||||
uniemoji = callPackage ../tools/inputmethods/ibus-engines/ibus-uniemoji { };
|
||||
};
|
||||
|
||||
ibus-with-plugins = callPackage ../tools/inputmethods/ibus/wrapper.nix {
|
||||
|
|
Loading…
Reference in a new issue