Files
nixpkgs/pkgs/by-name/qt/qtgreet/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

60 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchFromGitLab,
meson,
ninja,
pkg-config,
kdePackages,
qt6,
dfl-ipc,
dfl-utils,
dfl-applications,
dfl-login1,
mpvSupport ? true,
mpv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "qtgreet";
version = "2.0.4";
src = fetchFromGitLab {
owner = "marcusbritanicus";
repo = "QtGreet";
rev = "v${finalAttrs.version}";
hash = "sha256-5csKvBiffW+yHuNyFqxOE5bcsTWlyoLwFxuPH0WlFAE=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
qt6.wrapQtAppsHook
];
buildInputs = [
kdePackages.wayqt
qt6.qtbase
dfl-ipc
dfl-utils
dfl-applications
dfl-login1
]
++ lib.optionals mpvSupport [ mpv ];
mesonFlags = [
(lib.mesonOption "dynpath" "${placeholder "out"}/var/lib/qtgreet")
];
meta = {
description = "Qt based greeter for greetd, to be run under wayfire or similar wlr-based compositors";
homepage = "https://gitlab.com/marcusbritanicus/QtGreet";
changelog = "https://gitlab.com/marcusbritanicus/QtGreet/-/blob/${finalAttrs.src.rev}/Changelog";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ arthsmn ];
mainProgram = "qtgreet";
platforms = lib.platforms.linux;
};
})