nixpkgs/pkgs/development/libraries/libliftoff/default.nix
Sefa Eyeoglu dc9f7e5ada
libliftoff: 0.3.0 -> 0.4.1
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-03-13 22:37:38 +01:00

36 lines
1 KiB
Nix

{ lib, stdenv, fetchFromGitLab
, meson, pkg-config, ninja
, libdrm
}:
stdenv.mkDerivation rec {
pname = "libliftoff";
version = "0.4.1";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "emersion";
repo = pname;
rev = "v${version}";
sha256 = "sha256-NPwhsd6IOQ0XxNQQNdaaM4kmwoLftokV86WYhoa5csY=";
};
nativeBuildInputs = [ meson pkg-config ninja ];
buildInputs = [ libdrm ];
meta = with lib; {
description = "A 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 (src.meta) homepage;
changelog = "https://github.com/emersion/libliftoff/releases/tag/v${version}";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ pedrohlc primeos Scrumplex ];
};
}