2014-01-15 07:13:45 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, libtsm
|
|
|
|
, systemd
|
|
|
|
, libxkbcommon
|
|
|
|
, libdrm
|
|
|
|
, mesa
|
|
|
|
, pango
|
|
|
|
, pixman
|
|
|
|
, pkgconfig
|
|
|
|
, docbook_xsl
|
|
|
|
, libxslt
|
|
|
|
}:
|
2014-01-15 06:58:46 +01: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 07:13:45 +01:00
|
|
|
buildInputs = [
|
|
|
|
libtsm
|
|
|
|
systemd
|
|
|
|
libxkbcommon
|
|
|
|
libdrm
|
|
|
|
mesa
|
|
|
|
pango
|
|
|
|
pixman
|
|
|
|
pkgconfig
|
|
|
|
docbook_xsl
|
|
|
|
libxslt
|
|
|
|
];
|
2014-01-15 06:58:46 +01: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;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
2014-01-15 11:45:21 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-01-15 06:58:46 +01:00
|
|
|
};
|
|
|
|
}
|