nixpkgs/pkgs/desktops/lxqt/lxqt-session/default.nix
2024-04-19 14:38:59 -03:00

68 lines
1.1 KiB
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, kwindowsystem
, layer-shell-qt
, libXdmcp
, liblxqt
, libpthreadstubs
, libqtxdg
, lxqt-build-tools
, pkg-config
, procps
, qtbase
, qtsvg
, qttools
, qtwayland
, qtxdg-tools
, wrapQtAppsHook
, xdg-user-dirs
, gitUpdater
}:
stdenv.mkDerivation rec {
pname = "lxqt-session";
version = "2.0.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-IgpGtIVTcSs0O3jEniIuyIAyKBSkwN/jpGL6yZg3AVo=";
};
nativeBuildInputs = [
cmake
pkg-config
lxqt-build-tools
qttools
wrapQtAppsHook
];
buildInputs = [
kwindowsystem
layer-shell-qt
libXdmcp
liblxqt
libpthreadstubs
libqtxdg
procps
qtbase
qtsvg
qtwayland
qtxdg-tools
xdg-user-dirs
];
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://github.com/lxqt/lxqt-session";
description = "An alternative session manager ported from the original razor-session";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = teams.lxqt.members;
};
}