2016-10-03 23:01:39 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt, sudo }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "lxqt-sudo";
|
2017-02-19 13:35:35 +00:00
|
|
|
version = "0.11.1";
|
2016-10-03 23:01:39 +01:00
|
|
|
|
|
|
|
srcs = fetchFromGitHub {
|
|
|
|
owner = "lxde";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2017-02-19 13:35:35 +00:00
|
|
|
sha256 = "0imy4cs51im81rd0wa03wy418cdv9gqqgmwkc7v58cip7h665pyk";
|
2016-10-03 23:01:39 +01:00
|
|
|
};
|
|
|
|
|
2017-02-19 13:35:35 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
lxqt.lxqt-build-tools
|
|
|
|
];
|
2016-10-03 23:01:39 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qt5.qtbase
|
|
|
|
qt5.qttools
|
|
|
|
qt5.qtx11extras
|
|
|
|
qt5.qtsvg
|
|
|
|
kde5.kwindowsystem
|
|
|
|
lxqt.liblxqt
|
|
|
|
lxqt.libqtxdg
|
|
|
|
sudo
|
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "GUI frontend for sudo/su";
|
|
|
|
homepage = https://github.com/lxde/lxqt-sudo;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = with platforms; unix;
|
2017-02-19 13:35:35 +00:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-03 23:01:39 +01:00
|
|
|
};
|
|
|
|
}
|