at 24.11-pre 35 lines 1.0 kB view raw
1{ lib, stdenv, fetchFromGitLab 2, meson, pkg-config, ninja 3, libdrm 4}: 5 6stdenv.mkDerivation rec { 7 pname = "libliftoff"; 8 version = "0.4.1"; 9 10 src = fetchFromGitLab { 11 domain = "gitlab.freedesktop.org"; 12 owner = "emersion"; 13 repo = pname; 14 rev = "v${version}"; 15 sha256 = "sha256-NPwhsd6IOQ0XxNQQNdaaM4kmwoLftokV86WYhoa5csY="; 16 }; 17 18 nativeBuildInputs = [ meson pkg-config ninja ]; 19 20 buildInputs = [ libdrm ]; 21 22 meta = with lib; { 23 description = "A lightweight KMS plane library"; 24 longDescription = '' 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. 28 ''; 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 Scrumplex ]; 34 }; 35}