3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libtsm/default.nix

28 lines
788 B
Nix
Raw Normal View History

2017-08-12 19:26:50 +01:00
{ stdenv, lib, fetchurl, libxkbcommon, pkgconfig, autoreconfHook }:
stdenv.mkDerivation rec {
name = "libtsm-3";
src = fetchurl {
url = "https://freedesktop.org/software/kmscon/releases/${name}.tar.xz";
sha256 = "01ygwrsxfii0pngfikgqsb4fxp8n1bbs47l7hck81h9b9bc1ah8i";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libxkbcommon ] ++ lib.optionals stdenv.isDarwin [
2017-08-12 19:26:50 +01:00
autoreconfHook
];
configureFlags = [ "--disable-debug" ];
patches = lib.optional stdenv.isDarwin ./darwin.patch;
meta = with lib; {
description = "Terminal-emulator State Machine";
homepage = http://www.freedesktop.org/wiki/Software/kmscon/libtsm/;
license = licenses.mit;
2015-07-01 13:11:05 +01:00
maintainers = with maintainers; [ cstrahan ];
platforms = with platforms; unix;
};
}