1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/os-specific/linux/kmscon/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

55 lines
1,011 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
];
# FIXME: Remove as soon as kmscon > 8 comes along.
postPatch = ''
sed -i -e 's/libsystemd-daemon libsystemd-login/libsystemd/g' configure
'';
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;
platforms = stdenv.lib.platforms.linux;
};
}