2017-02-25 15:44:29 +00:00
|
|
|
{
|
2017-03-26 20:17:42 +01:00
|
|
|
stdenv, fetchFromGitHub, fetchurl, standardPatch,
|
2017-02-25 15:44:29 +00:00
|
|
|
cmake, pkgconfig, lxqt-build-tools,
|
|
|
|
qtbase, qttools, qtx11extras, qtsvg, libdbusmenu, kwindowsystem, solid,
|
|
|
|
kguiaddons, liblxqt, libqtxdg, lxqt-common, lxqt-globalkeys, libsysstat,
|
|
|
|
xorg, libstatgrab, lm_sensors, libpulseaudio, alsaLib, menu-cache,
|
|
|
|
lxmenu-data
|
|
|
|
}:
|
2016-10-03 23:03:59 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "lxqt-panel";
|
2017-02-19 13:53:59 +00:00
|
|
|
version = "0.11.1";
|
2016-10-03 23:03:59 +01:00
|
|
|
|
|
|
|
srcs = fetchFromGitHub {
|
|
|
|
owner = "lxde";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2017-02-19 13:53:59 +00:00
|
|
|
sha256 = "097rivly61i99v0w9a3dgbwbc4c5x9nh3jl0n94dix1qgd4w983y";
|
2016-10-03 23:03:59 +01:00
|
|
|
};
|
|
|
|
|
2017-02-19 13:53:59 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkgconfig
|
2017-02-25 15:44:29 +00:00
|
|
|
lxqt-build-tools
|
2017-02-19 13:53:59 +00:00
|
|
|
];
|
2016-10-03 23:03:59 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
2017-02-25 15:44:29 +00:00
|
|
|
qtbase
|
|
|
|
qttools
|
|
|
|
qtx11extras
|
|
|
|
qtsvg
|
|
|
|
libdbusmenu
|
|
|
|
kwindowsystem
|
|
|
|
solid
|
|
|
|
kguiaddons
|
|
|
|
liblxqt
|
|
|
|
libqtxdg
|
|
|
|
lxqt-common
|
|
|
|
lxqt-globalkeys
|
|
|
|
libsysstat
|
2016-10-03 23:03:59 +01:00
|
|
|
xorg.libpthreadstubs
|
|
|
|
xorg.libXdmcp
|
|
|
|
libstatgrab
|
|
|
|
lm_sensors
|
|
|
|
libpulseaudio
|
|
|
|
alsaLib
|
|
|
|
menu-cache
|
|
|
|
lxmenu-data
|
|
|
|
];
|
|
|
|
|
2017-03-26 20:17:42 +01:00
|
|
|
patches = [
|
|
|
|
(fetchurl {
|
|
|
|
url = https://github.com/lxde/lxqt-panel/commit/ec62109e0fa678875a9b10fc6f1975267432712d.patch;
|
|
|
|
sha256 = "1ywwk8gb6gbvs8z9gwgsnb13z1jvyvjij349nq7ij6iyhyld0jlr";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2016-10-03 23:03:59 +01:00
|
|
|
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
|
|
|
|
2017-02-25 15:44:29 +00:00
|
|
|
postPatch = standardPatch;
|
2016-10-03 23:03:59 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The LXQt desktop panel";
|
|
|
|
homepage = https://github.com/lxde/lxqt-panel;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = with platforms; unix;
|
2017-02-19 13:53:59 +00:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-03 23:03:59 +01:00
|
|
|
};
|
|
|
|
}
|