2017-02-25 16:44:29 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, solid, kidletime, liblxqt, libqtxdg }:
|
2016-10-03 23:59:34 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "lxqt-powermanagement";
|
2017-02-19 14:28:13 +01:00
|
|
|
version = "0.11.1";
|
2016-10-03 23:59:34 +02:00
|
|
|
|
|
|
|
srcs = fetchFromGitHub {
|
|
|
|
owner = "lxde";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2017-02-19 14:28:13 +01:00
|
|
|
sha256 = "0rcjq20ap6kc3m1f2glb8c62qhsx8qh0rkzlj3rykdj6n4hc0x79";
|
2016-10-03 23:59:34 +02:00
|
|
|
};
|
|
|
|
|
2017-02-19 14:28:13 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2017-02-25 16:44:29 +01:00
|
|
|
lxqt-build-tools
|
2017-02-19 14:28:13 +01:00
|
|
|
];
|
2016-10-03 23:59:34 +02:00
|
|
|
|
|
|
|
buildInputs = [
|
2017-02-25 16:44:29 +01:00
|
|
|
qtbase
|
|
|
|
qttools
|
|
|
|
qtx11extras
|
|
|
|
qtsvg
|
|
|
|
kwindowsystem
|
|
|
|
solid
|
|
|
|
kidletime
|
|
|
|
liblxqt
|
|
|
|
libqtxdg
|
2016-10-03 23:59:34 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Power management module for LXQt";
|
|
|
|
homepage = https://github.com/lxde/lxqt-powermanagement;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = with platforms; unix;
|
2017-02-19 14:28:13 +01:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-03 23:59:34 +02:00
|
|
|
};
|
|
|
|
}
|