2021-01-19 06:50:56 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, libtool, pkg-config, perl, ncurses }:
|
2015-03-09 03:35:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-11-20 14:58:17 +00:00
|
|
|
pname = "unibilium-unstable";
|
2015-03-09 03:35:25 +00:00
|
|
|
|
2019-11-20 14:58:17 +00:00
|
|
|
version = "20190811";
|
2015-03-09 03:35:25 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-11-20 14:58:17 +00:00
|
|
|
owner = "neovim";
|
2015-03-09 03:35:25 +00:00
|
|
|
repo = "unibilium";
|
2019-11-20 14:58:17 +00:00
|
|
|
rev = "92d929fabaf94ea4feb48149bbc3bbea77c4fab0";
|
|
|
|
sha256 = "1l8p3fpdymba62x1f5d990v72z3m5f5g2yf505g0rlf2ysc5r1di";
|
2015-03-09 03:35:25 +00:00
|
|
|
};
|
|
|
|
|
2015-06-10 08:03:23 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ]
|
2021-01-21 17:00:13 +00:00
|
|
|
++ lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
|
2015-03-09 03:35:25 +00:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config perl ];
|
2018-05-12 15:43:05 +00:00
|
|
|
buildInputs = [ libtool ncurses ];
|
2015-03-09 03:35:25 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A very basic terminfo library";
|
2015-05-28 17:20:29 +00:00
|
|
|
license = licenses.lgpl3Plus;
|
2016-06-06 08:56:08 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2016-03-19 11:01:22 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2015-03-09 03:35:25 +00:00
|
|
|
};
|
|
|
|
}
|