nixpkgs/pkgs/desktops/lxqt/core/lxqt-admin/default.nix
2017-02-19 09:59:23 -03:00

41 lines
873 B
Nix

{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt, polkit }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "lxqt-admin";
version = "0.11.1";
srcs = fetchFromGitHub {
owner = "lxde";
repo = pname;
rev = version;
sha256 = "12c1wdciqgiifsk5aslw3990pk9ylk9jhgwnrxvh798rr48hhflr";
};
nativeBuildInputs = [
cmake
lxqt.lxqt-build-tools
];
buildInputs = [
qt5.qtx11extras
qt5.qttools
qt5.qtsvg
kde5.kwindowsystem
lxqt.liblxqt
lxqt.libqtxdg
polkit
];
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
postPatch = lxqt.standardPatch;
meta = with stdenv.lib; {
description = "LXQt system administration tool";
homepage = https://github.com/lxde/lxqt-admin;
license = licenses.lgpl21;
platforms = with platforms; unix;
maintainers = with maintainers; [ romildo ];
};
}