unibilium: 20190811 → 2.1.1, fix cross-compilation
This commit is contained in:
parent
749c2d5b72
commit
305b8d473e
|
@ -1,22 +1,22 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, libtool, pkg-config, perl, ncurses }:
|
{ stdenv, lib, fetchFromGitHub, libtool, pkg-config, perl, ncurses }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "unibilium-unstable";
|
pname = "unibilium";
|
||||||
|
version = "2.1.1";
|
||||||
version = "20190811";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "neovim";
|
owner = "neovim";
|
||||||
repo = "unibilium";
|
repo = "unibilium";
|
||||||
rev = "92d929fabaf94ea4feb48149bbc3bbea77c4fab0";
|
rev = "v${version}";
|
||||||
sha256 = "1l8p3fpdymba62x1f5d990v72z3m5f5g2yf505g0rlf2ysc5r1di";
|
sha256 = "sha256-A/WECvma7u/Mmecvzi0cP168dt4v+zwC8CiFBkqWezA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=$(out)" ]
|
makeFlags = [ "PREFIX=$(out)" "LIBTOOL=${libtool}/bin/libtool" ];
|
||||||
++ lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config perl ];
|
strictDeps = true;
|
||||||
buildInputs = [ libtool ncurses ];
|
|
||||||
|
nativeBuildInputs = [ pkg-config perl libtool ];
|
||||||
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A very basic terminfo library";
|
description = "A very basic terminfo library";
|
||||||
|
|
Loading…
Reference in a new issue