depot/third_party/nixpkgs/pkgs/development/libraries/libliftoff/generic.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

29 lines
857 B
Nix

{ 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 ];
};
})