From 743a62673f4e00ae74b826643b1445371e0378fe Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 3 Sep 2019 14:36:08 +0200 Subject: [PATCH] ibus-engines.hangul: format with nixpkgs-fmt --- .../ibus-engines/ibus-hangul/default.nix | 33 ++++++++++++++----- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/inputmethods/ibus-engines/ibus-hangul/default.nix b/pkgs/tools/inputmethods/ibus-engines/ibus-hangul/default.nix index 3b8b3489a1d..9d1c8c5cc1b 100644 --- a/pkgs/tools/inputmethods/ibus-engines/ibus-hangul/default.nix +++ b/pkgs/tools/inputmethods/ibus-engines/ibus-hangul/default.nix @@ -1,5 +1,11 @@ -{ stdenv, fetchurl, intltool, pkgconfig -, gtk3, ibus, libhangul, python3 +{ stdenv +, fetchurl +, intltool +, pkgconfig +, gtk3 +, ibus +, libhangul +, python3 }: stdenv.mkDerivation rec { @@ -11,18 +17,27 @@ stdenv.mkDerivation rec { sha256 = "0gha8dfdf54rx8fv3yfikbgdg6lqq6l883lhg7q68ybvkjx9bwbs"; }; - buildInputs = [ gtk3 ibus libhangul python3 ]; + nativeBuildInputs = [ + intltool + pkgconfig + python3.pkgs.wrapPython + ]; - nativeBuildInputs = [ intltool pkgconfig python3.pkgs.wrapPython ]; + buildInputs = [ + gtk3 + ibus + libhangul + python3 + ]; postFixup = "wrapPythonPrograms"; meta = with stdenv.lib; { isIbusEngine = true; - description = "Ibus Hangul engine"; - homepage = https://github.com/choehwanjin/ibus-hangul; - license = licenses.gpl2; - platforms = platforms.linux; - maintainers = with maintainers; [ ericsagnes ]; + description = "Ibus Hangul engine"; + homepage = https://github.com/choehwanjin/ibus-hangul; + license = licenses.gpl2; + maintainers = with maintainers; [ ericsagnes ]; + platforms = platforms.linux; }; }