2017-08-12 18:26:50 +00:00
|
|
|
{ stdenv, lib, fetchurl, libxkbcommon, pkgconfig, autoreconfHook }:
|
2014-01-15 05:58:46 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libtsm-3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://freedesktop.org/software/kmscon/releases/${name}.tar.xz";
|
2014-01-15 05:58:46 +00:00
|
|
|
sha256 = "01ygwrsxfii0pngfikgqsb4fxp8n1bbs47l7hck81h9b9bc1ah8i";
|
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libxkbcommon ] ++ lib.optionals stdenv.isDarwin [
|
2017-08-12 18:26:50 +00:00
|
|
|
autoreconfHook
|
|
|
|
];
|
2014-01-15 05:58:46 +00:00
|
|
|
|
|
|
|
configureFlags = [ "--disable-debug" ];
|
|
|
|
|
2015-06-26 02:06:55 +00:00
|
|
|
patches = lib.optional stdenv.isDarwin ./darwin.patch;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2014-01-15 05:58:46 +00:00
|
|
|
description = "Terminal-emulator State Machine";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://www.freedesktop.org/wiki/Software/kmscon/libtsm/;
|
2015-06-26 02:06:55 +00:00
|
|
|
license = licenses.mit;
|
2015-07-01 12:11:05 +00:00
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = with platforms; unix;
|
2014-01-15 05:58:46 +00:00
|
|
|
};
|
|
|
|
}
|