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