pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
@@ -90,7 +90,7 @@ stdenv.mkDerivation rec {
|
||||
libxkbfile
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Next generation of fcitx";
|
||||
homepage = "https://github.com/fcitx/fcitx5";
|
||||
license = licenses.lgpl21Plus;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, mkDerivation
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
@@ -64,9 +64,9 @@ mkDerivation rec {
|
||||
opencc
|
||||
qtwebengine
|
||||
fmt
|
||||
] ++ stdenv.lib.optional luaSupport fcitx5-lua;
|
||||
] ++ lib.optional luaSupport fcitx5-lua;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Addons related to Chinese, including IME previous bundled inside fcitx4";
|
||||
homepage = "https://github.com/fcitx/fcitx5-chinese-addons";
|
||||
license = with licenses; [ gpl2Plus lgpl21Plus ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
@@ -45,12 +45,12 @@ mkDerivation rec {
|
||||
xkeyboardconfig
|
||||
libxkbfile
|
||||
libXdmcp
|
||||
] ++ stdenv.lib.optionals kcmSupport [
|
||||
] ++ lib.optionals kcmSupport [
|
||||
kdeclarative
|
||||
kwidgetsaddons
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Configuration Tool for Fcitx5";
|
||||
homepage = "https://github.com/fcitx/fcitx5-configtool";
|
||||
license = licenses.gpl2Plus;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
cmakeFlags = [
|
||||
"-DGOBJECT_INTROSPECTION_GIRDIR=share/gir-1.0"
|
||||
"-DGOBJECT_INTROSPECTION_TYPELIBDIR=lib/girepository-1.0"
|
||||
] ++ stdenv.lib.optional (! withGTK2) "-DENABLE_GTK2_IM_MODULE=off";
|
||||
] ++ lib.optional (! withGTK2) "-DENABLE_GTK2_IM_MODULE=off";
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
@@ -54,14 +54,14 @@ stdenv.mkDerivation rec {
|
||||
dbus
|
||||
at-spi2-core
|
||||
libXtst
|
||||
] ++ stdenv.lib.optional withGTK2 gtk2;
|
||||
] ++ lib.optional withGTK2 gtk2;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Fcitx5 gtk im module and glib based dbus client library";
|
||||
homepage = "https://github.com/fcitx/fcitx5-gtk";
|
||||
license = licenses.lgpl21Plus;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, extra-cmake-modules
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
gettext
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Lua support for Fcitx 5";
|
||||
homepage = "https://github.com/fcitx/fcitx5-lua";
|
||||
license = licenses.lgpl21Plus;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
@@ -36,7 +36,7 @@ mkDerivation rec {
|
||||
libXdmcp
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Fcitx5 Qt Library";
|
||||
homepage = "https://github.com/fcitx/fcitx5-qt";
|
||||
license = with licenses; [ lgpl21Plus bsd3 ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, pkgconfig
|
||||
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
||||
librime
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "RIME support for Fcitx5";
|
||||
homepage = "https://github.com/fcitx/fcitx5-rime";
|
||||
license = licenses.lgpl21Plus;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, extra-cmake-modules
|
||||
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||
fcitx5
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Extra table for Fcitx, including Boshiamy, Zhengma, Cangjie, and Quick";
|
||||
homepage = "https://github.com/fcitx/fcitx5-table-extra";
|
||||
license = licenses.gpl2Only;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, extra-cmake-modules
|
||||
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||
fcitx5
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Some other tables for Fcitx";
|
||||
homepage = "https://github.com/fcitx/fcitx5-table-other";
|
||||
license = licenses.gpl3Only;
|
||||
|
||||
Reference in New Issue
Block a user