nixpkgs/pkgs/desktops/lxqt/core/lxqt-common/default.nix

43 lines
992 B
Nix
Raw Normal View History

2016-10-03 23:53:03 +02:00
{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt, xorg, hicolor_icon_theme, xmessage }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "lxqt-common";
version = "0.11.0";
src = fetchFromGitHub {
owner = "lxde";
repo = pname;
rev = version;
sha256 = "14nx3zcknwsn713wdnmb2xl15vf21vh13kxscdwmfnd48m5j4m3b";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
qt5.qtx11extras
qt5.qttools
qt5.qtsvg
kde5.kwindowsystem
lxqt.liblxqt
lxqt.libqtxdg
hicolor_icon_theme
xmessage
];
postPatch = lxqt.standardPatch
+ ''
substituteInPlace ./startlxqt.in \
--replace "cp " "cp --no-preserve=mode " \
2016-10-03 23:53:03 +02:00
--replace xmessage "${xmessage}"/bin/xmessage
'';
meta = with stdenv.lib; {
description = "Common files for LXQt";
homepage = https://github.com/lxde/lxqt-common;
license = licenses.lgpl21;
maintainers = with maintainers; [ romildo ];
platforms = with platforms; unix;
};
}