1 { lib, stdenv, fetchFromGitLab
2 , meson, pkg-config, ninja
6 stdenv.mkDerivation rec {
10 src = fetchFromGitLab {
11 domain = "gitlab.freedesktop.org";
15 sha256 = "sha256-MbXDUkAA9gY6Qb6Ok33MNuqIfb4bPIEHd1IVH/UmH10=";
18 nativeBuildInputs = [ meson pkg-config ninja ];
20 buildInputs = [ libdrm ];
23 description = "A lightweight KMS plane library";
25 libliftoff eases the use of KMS planes from userspace without standing in
26 your way. Users create "virtual planes" called layers, set KMS properties
27 on them, and libliftoff will pick planes for these layers if possible.
29 inherit (src.meta) homepage;
30 changelog = "https://github.com/emersion/libliftoff/releases/tag/v${version}";
31 license = licenses.mit;
32 platforms = platforms.linux;
33 maintainers = with maintainers; [ primeos ];