depot/third_party/nixpkgs/pkgs/os-specific/linux/kmscon/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

59 lines
1 KiB
Nix

{ stdenv
, fetchFromGitHub
, autoreconfHook
, libtsm
, systemd
, libxkbcommon
, libdrm
, libGLU, libGL
, pango
, pixman
, pkgconfig
, docbook_xsl
, libxslt
}:
stdenv.mkDerivation rec {
pname = "kmscon";
version = "unstable-2018-09-07";
src = fetchFromGitHub {
owner = "Aetf";
repo = "kmscon";
rev = "01dd0a231e2125a40ceba5f59fd945ff29bf2cdc";
sha256 = "0q62kjsvy2iwy8adfiygx2bfwlh83rphgxbis95ycspqidg9py87";
};
buildInputs = [
libGLU libGL
libdrm
libtsm
libxkbcommon
libxslt
pango
pixman
systemd
];
nativeBuildInputs = [
autoreconfHook
docbook_xsl
pkgconfig
];
configureFlags = [
"--enable-multi-seat"
"--disable-debug"
"--enable-optimizations"
"--with-renderers=bbulk,gltex,pixman"
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "KMS/DRM based System Console";
homepage = "http://www.freedesktop.org/wiki/Software/kmscon/";
license = licenses.mit;
platforms = platforms.linux;
};
}