2014-01-15 06:13:45 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, libtsm
|
|
|
|
, systemd
|
|
|
|
, libxkbcommon
|
|
|
|
, libdrm
|
|
|
|
, mesa
|
|
|
|
, pango
|
|
|
|
, pixman
|
|
|
|
, pkgconfig
|
|
|
|
, docbook_xsl
|
|
|
|
, libxslt
|
|
|
|
}:
|
2014-01-15 05:58:46 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "kmscon-8";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.freedesktop.org/software/kmscon/releases/${name}.tar.xz";
|
|
|
|
sha256 = "0axfwrp3c8f4gb67ap2sqnkn75idpiw09s35wwn6kgagvhf1rc0a";
|
|
|
|
};
|
|
|
|
|
2014-01-15 06:13:45 +00:00
|
|
|
buildInputs = [
|
|
|
|
libtsm
|
|
|
|
systemd
|
|
|
|
libxkbcommon
|
|
|
|
libdrm
|
|
|
|
mesa
|
|
|
|
pango
|
|
|
|
pixman
|
|
|
|
pkgconfig
|
|
|
|
docbook_xsl
|
|
|
|
libxslt
|
|
|
|
];
|
2014-01-15 05:58:46 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-multi-seat"
|
|
|
|
"--disable-debug"
|
|
|
|
"--enable-optimizations"
|
|
|
|
"--with-renderers=bbulk,gltex,pixman"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "KMS/DRM based System Console";
|
|
|
|
homepage = "http://www.freedesktop.org/wiki/Software/kmscon/";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
2014-01-15 10:45:21 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-01-15 05:58:46 +00:00
|
|
|
};
|
|
|
|
}
|