depot/pkgs/desktops/lxqt/lxqt-powermanagement/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

59 lines
977 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;
};
}