1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/desktops/lxqt/lxqt-panel/default.nix

72 lines
1.6 KiB
Nix
Raw Normal View History

2017-02-25 10:44:29 -05:00
{
2017-11-01 22:29:12 -04:00
stdenv, fetchFromGitHub,
2017-02-25 10:44:29 -05:00
cmake, pkgconfig, lxqt-build-tools,
qtbase, qttools, qtx11extras, qtsvg, libdbusmenu, kwindowsystem, solid,
2017-11-01 21:57:11 -04:00
kguiaddons, liblxqt, libqtxdg, lxqt-globalkeys, libsysstat,
2017-02-25 10:44:29 -05:00
xorg, libstatgrab, lm_sensors, libpulseaudio, alsaLib, menu-cache,
2018-03-28 09:24:02 -04:00
lxmenu-data, pcre, libXdamage
2017-02-25 10:44:29 -05:00
}:
2016-10-03 18:03:59 -04:00
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "lxqt-panel";
2018-05-22 09:53:29 -04:00
version = "0.13.0";
2016-10-03 18:03:59 -04:00
2017-11-01 21:57:11 -04:00
src = fetchFromGitHub {
owner = "lxqt";
2016-10-03 18:03:59 -04:00
repo = pname;
rev = version;
2018-05-22 09:53:29 -04:00
sha256 = "056khr3smyrdi26zpclwv1qrmk0zxr9cnk65ad9c0xavzk6ya3xz";
2016-10-03 18:03:59 -04:00
};
2017-02-19 08:53:59 -05:00
nativeBuildInputs = [
cmake
pkgconfig
2017-02-25 10:44:29 -05:00
lxqt-build-tools
2017-02-19 08:53:59 -05:00
];
2016-10-03 18:03:59 -04:00
buildInputs = [
2017-02-25 10:44:29 -05:00
qtbase
qttools
qtx11extras
qtsvg
libdbusmenu
kwindowsystem
solid
kguiaddons
liblxqt
libqtxdg
lxqt-globalkeys
libsysstat
2016-10-03 18:03:59 -04:00
xorg.libpthreadstubs
xorg.libXdmcp
libstatgrab
lm_sensors
libpulseaudio
alsaLib
menu-cache
lxmenu-data
2017-11-01 21:57:11 -04:00
pcre
2018-03-28 09:24:02 -04:00
libXdamage
];
2016-10-03 18:03:59 -04:00
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
2017-11-01 21:57:11 -04:00
postPatch = ''
for dir in autostart menu; do
substituteInPlace $dir/CMakeLists.txt \
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
done
substituteInPlace panel/CMakeLists.txt \
--replace "DESTINATION \''${LXQT_ETC_XDG_DIR}" "DESTINATION etc/xdg"
'';
2016-10-03 18:03:59 -04:00
meta = with stdenv.lib; {
description = "The LXQt desktop panel";
homepage = https://github.com/lxqt/lxqt-panel;
2016-10-03 18:03:59 -04:00
license = licenses.lgpl21;
platforms = with platforms; unix;
2017-02-19 08:53:59 -05:00
maintainers = with maintainers; [ romildo ];
2016-10-03 18:03:59 -04:00
};
}