at 18.03-beta 58 lines 1.1 kB view raw
1{ stdenv 2, fetchurl 3, libtsm 4, systemd 5, libxkbcommon 6, libdrm 7, libGLU_combined 8, pango 9, pixman 10, pkgconfig 11, docbook_xsl 12, libxslt 13}: 14 15stdenv.mkDerivation rec { 16 name = "kmscon-8"; 17 18 src = fetchurl { 19 url = "http://www.freedesktop.org/software/kmscon/releases/${name}.tar.xz"; 20 sha256 = "0axfwrp3c8f4gb67ap2sqnkn75idpiw09s35wwn6kgagvhf1rc0a"; 21 }; 22 23 buildInputs = [ 24 libtsm 25 systemd 26 libxkbcommon 27 libdrm 28 libGLU_combined 29 pango 30 pixman 31 pkgconfig 32 docbook_xsl 33 libxslt 34 ]; 35 36 patches = [ ./kmscon-8-glibc-2.26.patch ]; 37 38 # FIXME: Remove as soon as kmscon > 8 comes along. 39 postPatch = '' 40 sed -i -e 's/libsystemd-daemon libsystemd-login/libsystemd/g' configure 41 ''; 42 43 configureFlags = [ 44 "--enable-multi-seat" 45 "--disable-debug" 46 "--enable-optimizations" 47 "--with-renderers=bbulk,gltex,pixman" 48 ]; 49 50 enableParallelBuilding = true; 51 52 meta = { 53 description = "KMS/DRM based System Console"; 54 homepage = http://www.freedesktop.org/wiki/Software/kmscon/; 55 license = stdenv.lib.licenses.mit; 56 platforms = stdenv.lib.platforms.linux; 57 }; 58}