ibus-engines.uniemoji: 2016-09-20 -> 0.6.0

This commit is contained in:
Kirill Boltaev 2016-10-16 01:42:09 +03:00
parent 796264a708
commit 51dd34f103

View File

@ -4,24 +4,20 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "ibus-uniemoji-${version}"; name = "ibus-uniemoji-${version}";
version = "2016-09-20"; version = "0.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "salty-horse"; owner = "salty-horse";
repo = "ibus-uniemoji"; repo = "ibus-uniemoji";
rev = "c8931a4807a721168e45463ecba00805adb3fe8d"; rev = "v${version}";
sha256 = "0fydxkdjsbfbrbb8238rfnshmhp11c38hsa7y2gp1ii6mkjngb1j"; sha256 = "121zh3q0li1k537fcvbd4ns4jgl9bbb9gm9ihy8cfxgirv38lcfa";
}; };
propagatedBuildInputs = with python3Packages; [ pyxdg python-Levenshtein ]; propagatedBuildInputs = with python3Packages; [ pyxdg python-Levenshtein ];
makeFlags = [ "PREFIX=$(out)" "SYSCONFDIR=$(out)/etc" makeFlags = [ "PREFIX=$(out)" "SYSCONFDIR=$(out)/etc"
"PYTHON=${python3Packages.python.interpreter}" ]; "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; { meta = with stdenv.lib; {
isIbusEngine = true; isIbusEngine = true;