2017-02-25 15:44:29 +00:00
|
|
|
{
|
|
|
|
stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools,
|
|
|
|
qtbase, qttools, qtx11extras, qtsvg, polkit-qt, kwindowsystem, liblxqt,
|
|
|
|
libqtxdg,
|
|
|
|
}:
|
2016-10-03 23:10:07 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "lxqt-policykit";
|
2017-02-19 13:24:17 +00:00
|
|
|
version = "0.11.1";
|
2016-10-03 23:10:07 +01:00
|
|
|
|
|
|
|
srcs = fetchFromGitHub {
|
|
|
|
owner = "lxde";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2017-02-19 13:24:17 +00:00
|
|
|
sha256 = "0sf8wj152z1xid1i2x5g1zpgh7lwq8f0rbrk3r9shyksxqcj2d8p";
|
2016-10-03 23:10:07 +01:00
|
|
|
};
|
|
|
|
|
2017-02-19 13:24:17 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkgconfig
|
2017-02-25 15:44:29 +00:00
|
|
|
lxqt-build-tools
|
2017-02-19 13:24:17 +00:00
|
|
|
];
|
2016-10-03 23:10:07 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
2017-02-25 15:44:29 +00:00
|
|
|
qtbase
|
|
|
|
qttools
|
|
|
|
qtx11extras
|
|
|
|
qtsvg
|
|
|
|
polkit-qt
|
|
|
|
kwindowsystem
|
|
|
|
liblxqt
|
|
|
|
libqtxdg
|
2016-10-03 23:10:07 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The LXQt PolicyKit agent";
|
|
|
|
homepage = https://github.com/lxde/lxqt-policykit;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = with platforms; unix;
|
2017-02-19 13:24:17 +00:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-03 23:10:07 +01:00
|
|
|
};
|
|
|
|
}
|