uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
60
pkgs/os-specific/linux/kmscon/default.nix
Normal file
60
pkgs/os-specific/linux/kmscon/default.nix
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, libtsm
|
||||
, systemd
|
||||
, libxkbcommon
|
||||
, libdrm
|
||||
, libGLU, libGL
|
||||
, pango
|
||||
, pixman
|
||||
, pkg-config
|
||||
, docbook_xsl
|
||||
, libxslt
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kmscon";
|
||||
version = "unstable-2018-09-07";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Aetf";
|
||||
repo = "kmscon";
|
||||
rev = "01dd0a231e2125a40ceba5f59fd945ff29bf2cdc";
|
||||
sha256 = "0q62kjsvy2iwy8adfiygx2bfwlh83rphgxbis95ycspqidg9py87";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
libGLU libGL
|
||||
libdrm
|
||||
libtsm
|
||||
libxkbcommon
|
||||
libxslt
|
||||
pango
|
||||
pixman
|
||||
systemd
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
docbook_xsl
|
||||
pkg-config
|
||||
];
|
||||
|
||||
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/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ omasanori ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue