nixpkgs/pkgs/desktops/lxqt/lxqt-session/default.nix
2023-04-17 14:38:17 -03:00

62 lines
1 KiB
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkg-config
, lxqt-build-tools
, qtbase
, qttools
, qtsvg
, qtx11extras
, kwindowsystem
, liblxqt
, libqtxdg
, qtxdg-tools
, procps
, xorg
, xdg-user-dirs
, gitUpdater
}:
mkDerivation rec {
pname = "lxqt-session";
version = "1.3.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "jhz1OHnPvjZMSo8+X/pf8rVLjPPSEiE7BDLnhUp/Vbk=";
};
nativeBuildInputs = [
cmake
pkg-config
lxqt-build-tools
];
buildInputs = [
qtbase
qttools
qtsvg
qtx11extras
kwindowsystem
liblxqt
libqtxdg
qtxdg-tools
procps
xorg.libpthreadstubs
xorg.libXdmcp
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;
};
}