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,
libconfig }:
{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, qtbase
, qttools
, lxqt
, libconfig
}:
mkDerivation rec {
pname = "compton-conf";
@ -27,7 +35,7 @@ mkDerivation rec {
preConfigure = ''
substituteInPlace autostart/CMakeLists.txt \
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" \
'';
'';
meta = with lib; {
description = "GUI configuration tool for compton X composite manager";

View File

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

View File

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

View File

@ -1,5 +1,16 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtx11extras,
qttools, qtsvg, libqtxdg, polkit-qt, kwindowsystem, xorg }:
{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtx11extras
, qttools
, qtsvg
, libqtxdg
, polkit-qt
, kwindowsystem
, xorg
}:
mkDerivation rec {
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 {
pname = "libqtxdg";
@ -11,9 +18,15 @@ mkDerivation rec {
sha256 = "16jqnpc740a6phq7vcgy85hl7253yzyw4m5h71r0vijk79ir73b5";
};
nativeBuildInputs = [ cmake lxqt-build-tools ];
nativeBuildInputs = [
cmake
lxqt-build-tools
];
buildInputs = [ qtbase qtsvg ];
buildInputs = [
qtbase
qtsvg
];
preConfigure = ''
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 {
pname = "libsysstat";
@ -11,9 +17,14 @@ mkDerivation rec {
sha256 = "10h9n7km7yx8bnmzxi4nn1yqq03hizjkrx4745j0mczy7niiffsz";
};
nativeBuildInputs = [ cmake lxqt-build-tools ];
nativeBuildInputs = [
cmake
lxqt-build-tools
];
buildInputs = [ qtbase ];
buildInputs = [
qtbase
];
meta = with lib; {
description = "Library used to query system info and statistics";

View File

@ -1,5 +1,17 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools,
qtx11extras, qtsvg, xorg, lxqt-build-tools, libfm-qt, libexif }:
{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, qtbase
, qttools
, qtx11extras
, qtsvg
, xorg
, lxqt-build-tools
, libfm-qt
, libexif
}:
mkDerivation rec {
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 {
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 {
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 {
# 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 {
pname = "lxqt-build-tools";
@ -11,9 +19,17 @@ mkDerivation rec {
sha256 = "0i7m9s4g5rsw28vclc9nh0zcapx85cqfwxkx7rrw7wa12svy7pm2";
};
nativeBuildInputs = [ cmake pkgconfig setupHook ];
nativeBuildInputs = [
cmake
pkgconfig
setupHook
];
buildInputs = [ qtbase glib pcre ];
buildInputs = [
qtbase
glib
pcre
];
setupHook = ./setup-hook.sh;

View File

@ -1,6 +1,19 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, qtbase,
qtx11extras, qttools, qtsvg, kwindowsystem, libkscreen, liblxqt,
libqtxdg, xorg }:
{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, lxqt-build-tools
, qtbase
, qtx11extras
, qttools
, qtsvg
, kwindowsystem
, libkscreen
, liblxqt
, libqtxdg
, xorg
}:
mkDerivation rec {
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 {
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 {
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 {
pname = "lxqt-openssh-askpass";

View File

@ -1,10 +1,30 @@
{
lib, mkDerivation, fetchFromGitHub,
cmake, pkgconfig, lxqt-build-tools,
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
{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, lxqt-build-tools
, 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 {

View File

@ -1,7 +1,18 @@
{
lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools,
qtbase, qttools, qtx11extras, qtsvg, polkit-qt, kwindowsystem, liblxqt,
libqtxdg, pcre
{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, lxqt-build-tools
, qtbase
, qttools
, qtx11extras
, qtsvg
, polkit-qt
, kwindowsystem
, liblxqt
, libqtxdg
, pcre
}:
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 {
pname = "lxqt-powermanagement";

View File

@ -1,7 +1,15 @@
{
lib, mkDerivation, fetchFromGitHub,
cmake, lxqt-build-tools,
qtbase, qtx11extras, qttools, qtsvg, libdbusmenu, libqtxdg, libfm-qt
{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtbase
, qtx11extras
, qttools
, qtsvg
, libdbusmenu
, libqtxdg
, libfm-qt
}:
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,
menu-cache, muparser, pcre }:
{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, lxqt-build-tools
, qtbase
, qttools
, qtsvg
, kwindowsystem
, liblxqt
, libqtxdg
, lxqt-globalkeys
, qtx11extras
, menu-cache
, muparser
, pcre
}:
mkDerivation rec {
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 {
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 {
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 {
pname = "lxqt-themes";

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,12 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase, qtx11extras, qttools,
lxqt-build-tools }:
{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, qtbase
, qtx11extras
, qttools
, lxqt-build-tools
}:
mkDerivation rec {
pname = "qps";
@ -12,15 +19,22 @@ mkDerivation rec {
sha256 = "03rl59yk3b24j0y0k8dpdpb3yi4f1l642zn5pp5br3s2vwx1vzkg";
};
nativeBuildInputs = [ cmake lxqt-build-tools ];
nativeBuildInputs = [
cmake
lxqt-build-tools
];
buildInputs = [ qtbase qtx11extras qttools ];
buildInputs = [
qtbase
qtx11extras
qttools
];
meta = with lib; {
description = "Qt based process manager";
homepage = "https://github.com/lxqt/qps";
license = licenses.gpl2;
platforms = with platforms; linux; # does not build on darwin
platforms = with platforms; linux; # does not build on darwin
maintainers = with maintainers; [ romildo ];
};
}

View File

@ -1,5 +1,13 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtermwidget,
qtbase, qttools, qtx11extras }:
{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtermwidget
, qtbase
, qttools
, qtx11extras
}:
mkDerivation rec {
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 {
pname = "qtermwidget";
@ -11,9 +18,15 @@ mkDerivation rec {
sha256 = "1pz8dwb86jpga4vfyn5v9n2s6dx3zh74yfp1kjsmsmhf878zs6lv";
};
nativeBuildInputs = [ cmake lxqt-build-tools ];
nativeBuildInputs = [
cmake
lxqt-build-tools
];
buildInputs = [ qtbase qttools ];
buildInputs = [
qtbase
qttools
];
meta = with lib; {
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 {
pname = "screengrab";