lxqt: format nix expressions with nixpkgs-fmt

This commit is contained in:
José Romildo Malaquias 2020-04-25 14:01:05 -03:00
parent f2cef2aea9
commit 5abed165e0
31 changed files with 458 additions and 103 deletions

View file

@ -1,5 +1,13 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools, lxqt, { lib
libconfig }: , mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, qtbase
, qttools
, lxqt
, libconfig
}:
mkDerivation rec { mkDerivation rec {
pname = "compton-conf"; pname = "compton-conf";

View file

@ -1,5 +1,4 @@
{ pkgs, makeScope, libsForQt5 }: { pkgs, makeScope, libsForQt5 }:
let let
packages = self: with self; { packages = self: with self; {
@ -7,42 +6,42 @@ let
# - https://github.com/lxqt/lxqt/wiki/Building-from-source # - https://github.com/lxqt/lxqt/wiki/Building-from-source
### BASE ### BASE
libqtxdg = callPackage ./libqtxdg { }; libqtxdg = callPackage ./libqtxdg {};
lxqt-build-tools = callPackage ./lxqt-build-tools { }; lxqt-build-tools = callPackage ./lxqt-build-tools {};
libsysstat = callPackage ./libsysstat { }; libsysstat = callPackage ./libsysstat {};
liblxqt = callPackage ./liblxqt { }; liblxqt = callPackage ./liblxqt {};
### CORE 1 ### CORE 1
libfm-qt = callPackage ./libfm-qt { }; libfm-qt = callPackage ./libfm-qt {};
lxqt-about = callPackage ./lxqt-about { }; lxqt-about = callPackage ./lxqt-about {};
lxqt-admin = callPackage ./lxqt-admin { }; lxqt-admin = callPackage ./lxqt-admin {};
lxqt-config = callPackage ./lxqt-config { }; lxqt-config = callPackage ./lxqt-config {};
lxqt-globalkeys = callPackage ./lxqt-globalkeys { }; lxqt-globalkeys = callPackage ./lxqt-globalkeys {};
lxqt-notificationd = callPackage ./lxqt-notificationd { }; lxqt-notificationd = callPackage ./lxqt-notificationd {};
lxqt-openssh-askpass = callPackage ./lxqt-openssh-askpass { }; lxqt-openssh-askpass = callPackage ./lxqt-openssh-askpass {};
lxqt-policykit = callPackage ./lxqt-policykit { }; lxqt-policykit = callPackage ./lxqt-policykit {};
lxqt-powermanagement = callPackage ./lxqt-powermanagement { }; lxqt-powermanagement = callPackage ./lxqt-powermanagement {};
lxqt-qtplugin = callPackage ./lxqt-qtplugin { }; lxqt-qtplugin = callPackage ./lxqt-qtplugin {};
lxqt-session = callPackage ./lxqt-session { }; lxqt-session = callPackage ./lxqt-session {};
lxqt-sudo = callPackage ./lxqt-sudo { }; lxqt-sudo = callPackage ./lxqt-sudo {};
lxqt-themes = callPackage ./lxqt-themes { }; lxqt-themes = callPackage ./lxqt-themes {};
pavucontrol-qt = libsForQt5.callPackage ./pavucontrol-qt { }; pavucontrol-qt = libsForQt5.callPackage ./pavucontrol-qt {};
qtermwidget = callPackage ./qtermwidget { }; qtermwidget = callPackage ./qtermwidget {};
### CORE 2 ### CORE 2
lxqt-panel = callPackage ./lxqt-panel { }; lxqt-panel = callPackage ./lxqt-panel {};
lxqt-runner = callPackage ./lxqt-runner { }; lxqt-runner = callPackage ./lxqt-runner {};
pcmanfm-qt = callPackage ./pcmanfm-qt { }; pcmanfm-qt = callPackage ./pcmanfm-qt {};
### OPTIONAL ### OPTIONAL
qterminal = callPackage ./qterminal { }; qterminal = callPackage ./qterminal {};
compton-conf = pkgs.qt5.callPackage ./compton-conf { }; compton-conf = pkgs.qt5.callPackage ./compton-conf {};
obconf-qt = callPackage ./obconf-qt { }; obconf-qt = callPackage ./obconf-qt {};
lximage-qt = callPackage ./lximage-qt { }; lximage-qt = callPackage ./lximage-qt {};
qps = callPackage ./qps { }; qps = callPackage ./qps {};
screengrab = callPackage ./screengrab { }; screengrab = callPackage ./screengrab {};
qlipper = callPackage ./qlipper { }; qlipper = callPackage ./qlipper {};
lxqt-archiver = callPackage ./lxqt-archiver { }; lxqt-archiver = callPackage ./lxqt-archiver {};
preRequisitePackages = [ preRequisitePackages = [
pkgs.gvfs # virtual file systems support for PCManFM-QT pkgs.gvfs # virtual file systems support for PCManFM-QT
@ -107,5 +106,5 @@ let
]; ];
}; };
in
in makeScope libsForQt5.newScope packages makeScope libsForQt5.newScope packages

View file

@ -1,7 +1,16 @@
{ { lib
lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, , mkDerivation
pcre, libexif, xorg, libfm, menu-cache, , fetchFromGitHub
qtx11extras, qttools , cmake
, pkgconfig
, lxqt-build-tools
, pcre
, libexif
, xorg
, libfm
, menu-cache
, qtx11extras
, qttools
}: }:
mkDerivation rec { mkDerivation rec {

View file

@ -1,5 +1,16 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtx11extras, { lib
qttools, qtsvg, libqtxdg, polkit-qt, kwindowsystem, xorg }: , mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtx11extras
, qttools
, qtsvg
, libqtxdg
, polkit-qt
, kwindowsystem
, xorg
}:
mkDerivation rec { mkDerivation rec {
pname = "liblxqt"; pname = "liblxqt";

View file

@ -1,4 +1,11 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase, qtsvg, lxqt-build-tools }: { lib
, mkDerivation
, fetchFromGitHub
, cmake
, qtbase
, qtsvg
, lxqt-build-tools
}:
mkDerivation rec { mkDerivation rec {
pname = "libqtxdg"; pname = "libqtxdg";
@ -11,9 +18,15 @@ mkDerivation rec {
sha256 = "16jqnpc740a6phq7vcgy85hl7253yzyw4m5h71r0vijk79ir73b5"; sha256 = "16jqnpc740a6phq7vcgy85hl7253yzyw4m5h71r0vijk79ir73b5";
}; };
nativeBuildInputs = [ cmake lxqt-build-tools ]; nativeBuildInputs = [
cmake
lxqt-build-tools
];
buildInputs = [ qtbase qtsvg ]; buildInputs = [
qtbase
qtsvg
];
preConfigure = '' preConfigure = ''
cmakeFlagsArray+=( cmakeFlagsArray+=(

View file

@ -1,4 +1,10 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase, lxqt-build-tools }: { lib
, mkDerivation
, fetchFromGitHub
, cmake
, qtbase
, lxqt-build-tools
}:
mkDerivation rec { mkDerivation rec {
pname = "libsysstat"; pname = "libsysstat";
@ -11,9 +17,14 @@ mkDerivation rec {
sha256 = "10h9n7km7yx8bnmzxi4nn1yqq03hizjkrx4745j0mczy7niiffsz"; sha256 = "10h9n7km7yx8bnmzxi4nn1yqq03hizjkrx4745j0mczy7niiffsz";
}; };
nativeBuildInputs = [ cmake lxqt-build-tools ]; nativeBuildInputs = [
cmake
lxqt-build-tools
];
buildInputs = [ qtbase ]; buildInputs = [
qtbase
];
meta = with lib; { meta = with lib; {
description = "Library used to query system info and statistics"; description = "Library used to query system info and statistics";

View file

@ -1,5 +1,17 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools, { lib
qtx11extras, qtsvg, xorg, lxqt-build-tools, libfm-qt, libexif }: , mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, qtbase
, qttools
, qtx11extras
, qtsvg
, xorg
, lxqt-build-tools
, libfm-qt
, libexif
}:
mkDerivation rec { mkDerivation rec {
pname = "lximage-qt"; pname = "lximage-qt";

View file

@ -1,4 +1,15 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtx11extras, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg }: { lib
, mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtx11extras
, qttools
, qtsvg
, kwindowsystem
, liblxqt
, libqtxdg
}:
mkDerivation rec { mkDerivation rec {
pname = "lxqt-about"; pname = "lxqt-about";

View file

@ -1,4 +1,16 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtx11extras, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, polkit-qt }: { lib
, mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtx11extras
, qttools
, qtsvg
, kwindowsystem
, liblxqt
, libqtxdg
, polkit-qt
}:
mkDerivation rec { mkDerivation rec {
pname = "lxqt-admin"; pname = "lxqt-admin";

View file

@ -1,4 +1,15 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, json-glib, libfm-qt, qtbase, qttools, qtx11extras }: { lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, lxqt-build-tools
, json-glib
, libfm-qt
, qtbase
, qttools
, qtx11extras
}:
mkDerivation rec { mkDerivation rec {
# pname = "lxqt-archiver"; # pname = "lxqt-archiver";

View file

@ -1,4 +1,12 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, pcre, qtbase, glib }: { lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, pcre
, qtbase
, glib
}:
mkDerivation rec { mkDerivation rec {
pname = "lxqt-build-tools"; pname = "lxqt-build-tools";
@ -11,9 +19,17 @@ mkDerivation rec {
sha256 = "0i7m9s4g5rsw28vclc9nh0zcapx85cqfwxkx7rrw7wa12svy7pm2"; sha256 = "0i7m9s4g5rsw28vclc9nh0zcapx85cqfwxkx7rrw7wa12svy7pm2";
}; };
nativeBuildInputs = [ cmake pkgconfig setupHook ]; nativeBuildInputs = [
cmake
pkgconfig
setupHook
];
buildInputs = [ qtbase glib pcre ]; buildInputs = [
qtbase
glib
pcre
];
setupHook = ./setup-hook.sh; setupHook = ./setup-hook.sh;

View file

@ -1,6 +1,19 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, qtbase, { lib
qtx11extras, qttools, qtsvg, kwindowsystem, libkscreen, liblxqt, , mkDerivation
libqtxdg, xorg }: , fetchFromGitHub
, cmake
, pkgconfig
, lxqt-build-tools
, qtbase
, qtx11extras
, qttools
, qtsvg
, kwindowsystem
, libkscreen
, liblxqt
, libqtxdg
, xorg
}:
mkDerivation rec { mkDerivation rec {
pname = "lxqt-config"; pname = "lxqt-config";

View file

@ -1,4 +1,16 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, liblxqt, libqtxdg }: { lib
, mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtbase
, qttools
, qtx11extras
, qtsvg
, kwindowsystem
, liblxqt
, libqtxdg
}:
mkDerivation rec { mkDerivation rec {
pname = "lxqt-globalkeys"; pname = "lxqt-globalkeys";

View file

@ -1,4 +1,16 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, qtx11extras }: { lib
, mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtbase
, qttools
, qtsvg
, kwindowsystem
, liblxqt
, libqtxdg
, qtx11extras
}:
mkDerivation rec { mkDerivation rec {
pname = "lxqt-notificationd"; pname = "lxqt-notificationd";

View file

@ -1,4 +1,16 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtsvg, qtx11extras, kwindowsystem, liblxqt, libqtxdg }: { lib
, mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtbase
, qttools
, qtsvg
, qtx11extras
, kwindowsystem
, liblxqt
, libqtxdg
}:
mkDerivation rec { mkDerivation rec {
pname = "lxqt-openssh-askpass"; pname = "lxqt-openssh-askpass";

View file

@ -1,10 +1,30 @@
{ { lib
lib, mkDerivation, fetchFromGitHub, , mkDerivation
cmake, pkgconfig, lxqt-build-tools, , fetchFromGitHub
qtbase, qttools, qtx11extras, qtsvg, libdbusmenu, kwindowsystem, solid, , cmake
kguiaddons, liblxqt, libqtxdg, lxqt-globalkeys, libsysstat, , pkgconfig
xorg, libstatgrab, lm_sensors, libpulseaudio, alsaLib, menu-cache, , lxqt-build-tools
lxmenu-data, pcre, libXdamage , qtbase
, qttools
, qtx11extras
, qtsvg
, libdbusmenu
, kwindowsystem
, solid
, kguiaddons
, liblxqt
, libqtxdg
, lxqt-globalkeys
, libsysstat
, xorg
, libstatgrab
, lm_sensors
, libpulseaudio
, alsaLib
, menu-cache
, lxmenu-data
, pcre
, libXdamage
}: }:
mkDerivation rec { mkDerivation rec {

View file

@ -1,7 +1,18 @@
{ { lib
lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, , mkDerivation
qtbase, qttools, qtx11extras, qtsvg, polkit-qt, kwindowsystem, liblxqt, , fetchFromGitHub
libqtxdg, pcre , cmake
, pkgconfig
, lxqt-build-tools
, qtbase
, qttools
, qtx11extras
, qtsvg
, polkit-qt
, kwindowsystem
, liblxqt
, libqtxdg
, pcre
}: }:
mkDerivation rec { mkDerivation rec {

View file

@ -1,4 +1,18 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, solid, kidletime, liblxqt, libqtxdg }: { lib
, mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtbase
, qttools
, qtx11extras
, qtsvg
, kwindowsystem
, solid
, kidletime
, liblxqt
, libqtxdg
}:
mkDerivation rec { mkDerivation rec {
pname = "lxqt-powermanagement"; pname = "lxqt-powermanagement";

View file

@ -1,7 +1,15 @@
{ { lib
lib, mkDerivation, fetchFromGitHub, , mkDerivation
cmake, lxqt-build-tools, , fetchFromGitHub
qtbase, qtx11extras, qttools, qtsvg, libdbusmenu, libqtxdg, libfm-qt , cmake
, lxqt-build-tools
, qtbase
, qtx11extras
, qttools
, qtsvg
, libdbusmenu
, libqtxdg
, libfm-qt
}: }:
mkDerivation rec { mkDerivation rec {

View file

@ -1,5 +1,21 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, lxqt-globalkeys, qtx11extras, { lib
menu-cache, muparser, pcre }: , mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, lxqt-build-tools
, qtbase
, qttools
, qtsvg
, kwindowsystem
, liblxqt
, libqtxdg
, lxqt-globalkeys
, qtx11extras
, menu-cache
, muparser
, pcre
}:
mkDerivation rec { mkDerivation rec {
pname = "lxqt-runner"; pname = "lxqt-runner";

View file

@ -1,4 +1,19 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, qtbase, qttools, qtsvg, qtx11extras, kwindowsystem, liblxqt, libqtxdg, xorg, xdg-user-dirs }: { lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, lxqt-build-tools
, qtbase
, qttools
, qtsvg
, qtx11extras
, kwindowsystem
, liblxqt
, libqtxdg
, xorg
, xdg-user-dirs
}:
mkDerivation rec { mkDerivation rec {
pname = "lxqt-session"; pname = "lxqt-session";

View file

@ -1,4 +1,17 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, liblxqt, libqtxdg, sudo }: { lib
, mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtbase
, qttools
, qtx11extras
, qtsvg
, kwindowsystem
, liblxqt
, libqtxdg
, sudo
}:
mkDerivation rec { mkDerivation rec {
pname = "lxqt-sudo"; pname = "lxqt-sudo";

View file

@ -1,4 +1,9 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools }: { lib
, mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
}:
mkDerivation rec { mkDerivation rec {
pname = "lxqt-themes"; pname = "lxqt-themes";

View file

@ -1,5 +1,16 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, pcre, qtbase, qttools, { lib
qtx11extras, xorg, lxqt-build-tools, openbox }: , mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, pcre
, qtbase
, qttools
, qtx11extras
, xorg
, lxqt-build-tools
, openbox
}:
mkDerivation rec { mkDerivation rec {
pname = "obconf-qt"; pname = "obconf-qt";

View file

@ -1,5 +1,15 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt, libpulseaudio, { lib
pcre, qtbase, qttools, qtx11extras }: , mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, lxqt
, libpulseaudio
, pcre
, qtbase
, qttools
, qtx11extras
}:
mkDerivation rec { mkDerivation rec {
pname = "pavucontrol-qt"; pname = "pavucontrol-qt";

View file

@ -1,5 +1,16 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt, qtbase, qttools, { lib
qtx11extras, libfm-qt, menu-cache, lxmenu-data }: , mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, lxqt
, qtbase
, qttools
, qtx11extras
, libfm-qt
, menu-cache
, lxmenu-data
}:
mkDerivation rec { mkDerivation rec {
pname = "pcmanfm-qt"; pname = "pcmanfm-qt";

View file

@ -1,4 +1,10 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase, qttools }: { lib
, mkDerivation
, fetchFromGitHub
, cmake
, qtbase
, qttools
}:
mkDerivation rec { mkDerivation rec {
pname = "qlipper"; pname = "qlipper";
@ -11,9 +17,14 @@ mkDerivation rec {
sha256 = "0vlm4ab9isi7i2bimnyrk6083j2dfdrs14qj59vjcjri7mcwmf76"; sha256 = "0vlm4ab9isi7i2bimnyrk6083j2dfdrs14qj59vjcjri7mcwmf76";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [
cmake
];
buildInputs = [ qtbase qttools ]; buildInputs = [
qtbase
qttools
];
meta = with lib; { meta = with lib; {
description = "Cross-platform clipboard history applet"; description = "Cross-platform clipboard history applet";

View file

@ -1,5 +1,12 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase, qtx11extras, qttools, { lib
lxqt-build-tools }: , mkDerivation
, fetchFromGitHub
, cmake
, qtbase
, qtx11extras
, qttools
, lxqt-build-tools
}:
mkDerivation rec { mkDerivation rec {
pname = "qps"; pname = "qps";
@ -12,9 +19,16 @@ mkDerivation rec {
sha256 = "03rl59yk3b24j0y0k8dpdpb3yi4f1l642zn5pp5br3s2vwx1vzkg"; sha256 = "03rl59yk3b24j0y0k8dpdpb3yi4f1l642zn5pp5br3s2vwx1vzkg";
}; };
nativeBuildInputs = [ cmake lxqt-build-tools ]; nativeBuildInputs = [
cmake
lxqt-build-tools
];
buildInputs = [ qtbase qtx11extras qttools ]; buildInputs = [
qtbase
qtx11extras
qttools
];
meta = with lib; { meta = with lib; {
description = "Qt based process manager"; description = "Qt based process manager";

View file

@ -1,5 +1,13 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtermwidget, { lib
qtbase, qttools, qtx11extras }: , mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtermwidget
, qtbase
, qttools
, qtx11extras
}:
mkDerivation rec { mkDerivation rec {
pname = "qterminal"; pname = "qterminal";

View file

@ -1,4 +1,11 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase, qttools, lxqt-build-tools }: { lib
, mkDerivation
, fetchFromGitHub
, cmake
, qtbase
, qttools
, lxqt-build-tools
}:
mkDerivation rec { mkDerivation rec {
pname = "qtermwidget"; pname = "qtermwidget";
@ -11,9 +18,15 @@ mkDerivation rec {
sha256 = "1pz8dwb86jpga4vfyn5v9n2s6dx3zh74yfp1kjsmsmhf878zs6lv"; sha256 = "1pz8dwb86jpga4vfyn5v9n2s6dx3zh74yfp1kjsmsmhf878zs6lv";
}; };
nativeBuildInputs = [ cmake lxqt-build-tools ]; nativeBuildInputs = [
cmake
lxqt-build-tools
];
buildInputs = [ qtbase qttools ]; buildInputs = [
qtbase
qttools
];
meta = with lib; { meta = with lib; {
description = "A terminal emulator widget for Qt 5"; description = "A terminal emulator widget for Qt 5";

View file

@ -1,4 +1,17 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, libqtxdg, xorg, autoPatchelfHook }: { lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, qtbase
, qttools
, qtx11extras
, qtsvg
, kwindowsystem
, libqtxdg
, xorg
, autoPatchelfHook
}:
mkDerivation rec { mkDerivation rec {
pname = "screengrab"; pname = "screengrab";