nixpkgs/pkgs/os-specific/linux/kmscon/default.nix

61 lines
1.1 KiB
Nix
Raw Normal View History

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