libtermkey: fix cross-compilation
This commit is contained in:
parent
305b8d473e
commit
9608aebcca
|
@ -2,7 +2,6 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libtermkey";
|
||||
|
||||
version = "0.22";
|
||||
|
||||
src = fetchzip {
|
||||
|
@ -10,12 +9,13 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "02dks6bj7n23lj005yq41azf95wh3hapmgc2lzyh12vigkjh67rg";
|
||||
};
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ]
|
||||
++ lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
|
||||
makeFlags = [ "PREFIX=$(out)" "LIBTOOL=${libtool}/bin/libtool" ];
|
||||
|
||||
nativeBuildInputs = [ libtool pkg-config ];
|
||||
buildInputs = [ ncurses unibilium ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Terminal keypress reading library";
|
||||
homepage = "http://www.leonerd.org.uk/code/libtermkey";
|
||||
|
|
Loading…
Reference in a new issue