nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 meson,
5 pkg-config,
6 ninja,
7 libdrm,
8 version,
9 src,
10 patches,
11}:
12
13stdenv.mkDerivation (finalAttrs: {
14 pname = "libliftoff";
15 inherit version src patches;
16
17 nativeBuildInputs = [
18 meson
19 pkg-config
20 ninja
21 ];
22
23 buildInputs = [ libdrm ];
24
25 meta = {
26 description = "Lightweight KMS plane library";
27 longDescription = ''
28 libliftoff eases the use of KMS planes from userspace without standing in
29 your way. Users create "virtual planes" called layers, set KMS properties
30 on them, and libliftoff will pick planes for these layers if possible.
31 '';
32 inherit (finalAttrs.src.meta) homepage;
33 changelog = "https://gitlab.freedesktop.org/emersion/libliftoff/-/tags/v${finalAttrs.version}";
34 license = lib.licenses.mit;
35 platforms = lib.platforms.linux;
36 maintainers = with lib.maintainers; [
37 Scrumplex
38 ];
39 };
40})