mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
ibus-engines.uniemoji: 2016-09-20 -> 0.6.0
This commit is contained in:
parent
796264a708
commit
51dd34f103
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user