nixpkgs/pkgs/desktops/lxqt/lxqt-admin/default.nix

45 lines
1.0 KiB
Nix
Raw Normal View History

2018-05-22 13:53:02 +00:00
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtx11extras, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, polkit-qt }:
2016-10-03 21:52:08 +00:00
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "lxqt-admin";
2018-05-22 13:53:02 +00:00
version = "0.13.0";
2016-10-03 21:52:08 +00:00
2017-11-02 01:54:39 +00:00
src = fetchFromGitHub {
owner = "lxqt";
2016-10-03 21:52:08 +00:00
repo = pname;
rev = version;
2018-05-22 13:53:02 +00:00
sha256 = "1nsf8sbgmfanvcxw67drhz1wrizkcd0p87jwr1za5rcgd50bi2yy";
2016-10-03 21:52:08 +00:00
};
nativeBuildInputs = [
cmake
2017-02-25 15:44:29 +00:00
lxqt-build-tools
2016-10-03 21:52:08 +00:00
];
buildInputs = [
2017-02-25 15:44:29 +00:00
qtx11extras
qttools
qtsvg
kwindowsystem
liblxqt
libqtxdg
2018-05-22 13:53:02 +00:00
polkit-qt
2016-10-03 21:52:08 +00:00
];
2018-05-22 13:53:02 +00:00
patchPhase = ''
sed "s|\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR}|''${out}/share/polkit-1/actions|" \
-i lxqt-admin-user/CMakeLists.txt
'';
2016-10-03 21:52:08 +00:00
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
meta = with stdenv.lib; {
description = "LXQt system administration tool";
homepage = https://github.com/lxqt/lxqt-admin;
2016-10-03 21:52:08 +00:00
license = licenses.lgpl21;
platforms = with platforms; unix;
2017-02-19 12:59:23 +00:00
maintainers = with maintainers; [ romildo ];
2016-10-03 21:52:08 +00:00
};
}