depot/third_party/nixpkgs/pkgs/desktops/lxqt/lxqt-powermanagement/default.nix

60 lines
996 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
kidletime,
kwindowsystem,
liblxqt,
libqtxdg,
lxqt-build-tools,
lxqt-globalkeys,
qtbase,
qtsvg,
qttools,
qtwayland,
solid,
wrapQtAppsHook,
gitUpdater,
}:
stdenv.mkDerivation rec {
pname = "lxqt-powermanagement";
version = "2.1.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-S60m8ixz6HnTZe0MTyvU0pXWWOS88KeXfDcQJ/I1Keo=";
};
nativeBuildInputs = [
cmake
lxqt-build-tools
qttools
wrapQtAppsHook
];
buildInputs = [
kidletime
kwindowsystem
liblxqt
libqtxdg
lxqt-globalkeys
qtbase
qtsvg
qtwayland
solid
];
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://github.com/lxqt/lxqt-powermanagement";
description = "Power management module for LXQt";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = teams.lxqt.members;
};
}