mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
446c144b1a
Note that currently this depends on the default nixpkgs mesa and pango. It may be possible to build more limited versions that don't e.g. depend on the full X stack without limiting kmscon (which of course doesn't use X). Depends on libtsm, added in the same commit. Signed-off-by: Shea Levy <shea@shealevy.com>
22 lines
591 B
Nix
22 lines
591 B
Nix
{ stdenv, fetchurl, libxkbcommon, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libtsm-3";
|
|
|
|
src = fetchurl {
|
|
url = "http://freedesktop.org/software/kmscon/releases/${name}.tar.xz";
|
|
sha256 = "01ygwrsxfii0pngfikgqsb4fxp8n1bbs47l7hck81h9b9bc1ah8i";
|
|
};
|
|
|
|
buildInputs = [ libxkbcommon pkgconfig ];
|
|
|
|
configureFlags = [ "--disable-debug" ];
|
|
|
|
meta = {
|
|
description = "Terminal-emulator State Machine";
|
|
homepage = "http://www.freedesktop.org/wiki/Software/kmscon/libtsm/";
|
|
license = stdenv.lib.licenses.mit;
|
|
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
|
};
|
|
}
|