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
75 lines
1.2 KiB
Nix
75 lines
1.2 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
wrapQtAppsHook,
|
|
wayland-scanner,
|
|
qtbase,
|
|
wayland,
|
|
wayland-protocols,
|
|
wlr-protocols,
|
|
pixman,
|
|
libgbm,
|
|
vulkan-loader,
|
|
libinput,
|
|
xorg,
|
|
seatd,
|
|
wlroots,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "qwlroots";
|
|
version = "0.5.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vioken";
|
|
repo = "qwlroots";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-ZyG0JGUlz/ubtwN5wYtC8qeYsPur+0kTkD7iIjHX7KU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
wayland-scanner
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
wayland
|
|
wayland-protocols
|
|
wlr-protocols
|
|
pixman
|
|
libgbm
|
|
vulkan-loader
|
|
libinput
|
|
xorg.libXdmcp
|
|
xorg.xcbutilerrors
|
|
seatd
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
wlroots
|
|
];
|
|
|
|
cmakeFlags = [
|
|
(lib.cmakeBool "PREFER_QT_5" (lib.versionOlder qtbase.version "6"))
|
|
];
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
meta = {
|
|
description = "Qt and QML bindings for wlroots";
|
|
homepage = "https://github.com/vioken/qwlroots";
|
|
license = with lib.licenses; [
|
|
gpl3Only
|
|
lgpl3Only
|
|
asl20
|
|
];
|
|
platforms = wlroots.meta.platforms;
|
|
maintainers = with lib.maintainers; [ wineee ];
|
|
};
|
|
})
|