nixpkgs/pkgs/desktops/lxqt/core/lxqt-powermanagement/default.nix

42 lines
889 B
Nix
Raw Normal View History

2016-10-03 23:59:34 +02:00
{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }:
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
lxqt.lxqt-build-tools
];
2016-10-03 23:59:34 +02:00
buildInputs = [
qt5.qtbase
qt5.qttools
qt5.qtx11extras
qt5.qtsvg
kde5.kwindowsystem
kde5.solid
kde5.kidletime
lxqt.liblxqt
lxqt.libqtxdg
];
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
};
}