nixpkgs-suyu/pkgs/desktops/lxqt/core/lxqt-policykit/default.nix
2017-02-19 10:24:17 -03:00

41 lines
878 B
Nix

{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "lxqt-policykit";
version = "0.11.1";
srcs = fetchFromGitHub {
owner = "lxde";
repo = pname;
rev = version;
sha256 = "0sf8wj152z1xid1i2x5g1zpgh7lwq8f0rbrk3r9shyksxqcj2d8p";
};
nativeBuildInputs = [
cmake
pkgconfig
lxqt.lxqt-build-tools
];
buildInputs = [
qt5.qtbase
qt5.qttools
qt5.qtx11extras
qt5.qtsvg
qt5.polkit-qt
kde5.kwindowsystem
lxqt.liblxqt
lxqt.libqtxdg
];
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;
maintainers = with maintainers; [ romildo ];
};
}