ibus: format with nixpkgs-fmt

This commit is contained in:
Jan Tojnar 2019-11-07 19:01:21 +01:00
parent 808082f6b6
commit f6836269fa
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
1 changed files with 37 additions and 8 deletions

View File

@ -1,8 +1,33 @@
{ stdenv, substituteAll, fetchurl, fetchFromGitHub, autoreconfHook, gettext, makeWrapper, pkgconfig { stdenv
, vala, wrapGAppsHook, dbus, dconf ? null, glib, gdk-pixbuf, gobject-introspection, gtk2 , substituteAll
, gtk3, gtk-doc, isocodes, python3, json-glib, libnotify ? null, enablePython2Library ? false , fetchurl
, enableUI ? true, withWayland ? false, libxkbcommon ? null, wayland ? null , fetchFromGitHub
, buildPackages, runtimeShell }: , autoreconfHook
, gettext
, makeWrapper
, pkgconfig
, vala
, wrapGAppsHook
, dbus
, dconf ? null
, glib
, gdk-pixbuf
, gobject-introspection
, gtk2
, gtk3
, gtk-doc
, isocodes
, python3
, json-glib
, libnotify ? null
, enablePython2Library ? false
, enableUI ? true
, withWayland ? false
, libxkbcommon ? null
, wayland ? null
, buildPackages
, runtimeShell
}:
assert withWayland -> wayland != null && libxkbcommon != null; assert withWayland -> wayland != null && libxkbcommon != null;
@ -132,7 +157,9 @@ stdenv.mkDerivation rec {
wrapGAppsHook wrapGAppsHook
]; ];
propagatedBuildInputs = [ glib ]; propagatedBuildInputs = [
glib
];
buildInputs = [ buildInputs = [
dbus dbus
@ -154,10 +181,12 @@ stdenv.mkDerivation rec {
doCheck = false; # requires X11 daemon doCheck = false; # requires X11 daemon
doInstallCheck = true; doInstallCheck = true;
installCheckPhase = "$out/bin/ibus version"; installCheckPhase = ''
$out/bin/ibus version
'';
meta = { meta = {
homepage = https://github.com/ibus/ibus; homepage = "https://github.com/ibus/ibus";
description = "Intelligent Input Bus, input method framework"; description = "Intelligent Input Bus, input method framework";
license = licenses.lgpl21Plus; license = licenses.lgpl21Plus;
platforms = platforms.linux; platforms = platforms.linux;