mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
6b14b4fb30
The project has moved from GitHub to gitlab.freedesktop.org:
e77722959d
36 lines
1013 B
Nix
36 lines
1013 B
Nix
{ lib, stdenv, fetchFromGitLab
|
|
, meson, pkg-config, ninja
|
|
, libdrm
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libliftoff";
|
|
version = "0.2.0";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.freedesktop.org";
|
|
owner = "emersion";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1ysxm7kg1gwrsn29lw8kngvkxp46g4m2pvbwcvscgvr54ikirn4q";
|
|
};
|
|
|
|
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; [ primeos ];
|
|
};
|
|
}
|