uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,68 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, gettext
|
||||
, pkg-config
|
||||
, wrapGAppsHook
|
||||
, sqlite
|
||||
, libpinyin
|
||||
, db
|
||||
, ibus
|
||||
, glib
|
||||
, gtk3
|
||||
, python3
|
||||
, lua
|
||||
, opencc
|
||||
, libsoup
|
||||
, json-glib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ibus-libpinyin";
|
||||
version = "1.12.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libpinyin";
|
||||
repo = "ibus-libpinyin";
|
||||
rev = version;
|
||||
sha256 = "sha256-tSbH4twU+paCZdmzVQMSSg3AzBNkK4nnmOfbvUzvZTk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
gettext
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--enable-cloud-input-mode"
|
||||
"--enable-opencc"
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
ibus
|
||||
glib
|
||||
sqlite
|
||||
libpinyin
|
||||
(python3.withPackages (pypkgs: with pypkgs; [
|
||||
pygobject3
|
||||
(toPythonModule ibus)
|
||||
]))
|
||||
gtk3
|
||||
db
|
||||
lua
|
||||
opencc
|
||||
libsoup
|
||||
json-glib
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
isIbusEngine = true;
|
||||
description = "IBus interface to the libpinyin input method";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ ericsagnes ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue