1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

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;
};