about summary refs log tree commit diff
path: root/pkgs/development/libraries/libliftoff/generic.nix
blob: 0f347a6a9b00e97a262a6d55e44bee5f7dfe339e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, stdenv
, meson, pkg-config, ninja
, libdrm
, version
, src
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "libliftoff";
  inherit version src;

  nativeBuildInputs = [ meson pkg-config ninja ];

  buildInputs = [ libdrm ];

  meta = {
    description = "Lightweight KMS plane library";
    longDescription = ''
      libliftoff eases the use of KMS planes from userspace without standing in
      your way. Users create "virtual planes" called layers, set KMS properties
      on them, and libliftoff will pick planes for these layers if possible.
    '';
    inherit (finalAttrs.src.meta) homepage;
    changelog   = "https://gitlab.freedesktop.org/emersion/libliftoff/-/tags/v${finalAttrs.version}";
    license     = lib.licenses.mit;
    platforms   = lib.platforms.linux;
    maintainers = with lib.maintainers; [ primeos Scrumplex ];
  };
})