libtermkey: compile with unibilium

As the alternative isn't well tested and will be ruled out very soon.
This commit is contained in:
Matthieu Coudron 2019-12-01 00:03:16 +01:00 committed by Matthieu Coudron
parent 272d9b91a0
commit 9c6ceb58f5

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchzip, libtool, pkgconfig, ncurses }:
{ stdenv, lib, fetchzip, libtool, pkgconfig, ncurses, unibilium }:
stdenv.mkDerivation rec {
pname = "libtermkey";
@ -13,11 +13,12 @@ stdenv.mkDerivation rec {
makeFlags = [ "PREFIX=$(out)" ]
++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libtool ncurses ];
nativeBuildInputs = [ libtool pkgconfig ];
buildInputs = [ ncurses unibilium ];
meta = with lib; {
description = "Terminal keypress reading library";
homepage = http://www.leonerd.org.uk/code/libtermkey;
license = licenses.mit;
platforms = platforms.unix;
};