1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +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 { stdenv.mkDerivation rec {
pname = "libtermkey"; pname = "libtermkey";
@ -13,11 +13,12 @@ stdenv.mkDerivation rec {
makeFlags = [ "PREFIX=$(out)" ] makeFlags = [ "PREFIX=$(out)" ]
++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool"; ++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ libtool pkgconfig ];
buildInputs = [ libtool ncurses ]; buildInputs = [ ncurses unibilium ];
meta = with lib; { meta = with lib; {
description = "Terminal keypress reading library"; description = "Terminal keypress reading library";
homepage = http://www.leonerd.org.uk/code/libtermkey;
license = licenses.mit; license = licenses.mit;
platforms = platforms.unix; platforms = platforms.unix;
}; };