1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-09 05:53:50 +00:00
nixpkgs/pkgs/os-specific/linux/kmscon/default.nix
Shea Levy e5c34ddb55 Add platforms for kmscon
Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-15 08:17:19 -05:00

51 lines
913 B
Nix

{ stdenv
, fetchurl
, libtsm
, systemd
, libxkbcommon
, libdrm
, mesa
, pango
, pixman
, pkgconfig
, docbook_xsl
, libxslt
}:
stdenv.mkDerivation rec {
name = "kmscon-8";
src = fetchurl {
url = "http://www.freedesktop.org/software/kmscon/releases/${name}.tar.xz";
sha256 = "0axfwrp3c8f4gb67ap2sqnkn75idpiw09s35wwn6kgagvhf1rc0a";
};
buildInputs = [
libtsm
systemd
libxkbcommon
libdrm
mesa
pango
pixman
pkgconfig
docbook_xsl
libxslt
];
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 ];
platforms = stdenv.lib.platforms.linux;
};
}