mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
28 lines
754 B
Nix
28 lines
754 B
Nix
{ stdenv, lib, fetchFromGitHub, libtool, pkg-config, perl, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "unibilium-unstable";
|
|
|
|
version = "20190811";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "neovim";
|
|
repo = "unibilium";
|
|
rev = "92d929fabaf94ea4feb48149bbc3bbea77c4fab0";
|
|
sha256 = "1l8p3fpdymba62x1f5d990v72z3m5f5g2yf505g0rlf2ysc5r1di";
|
|
};
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ]
|
|
++ lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
|
|
|
|
nativeBuildInputs = [ pkg-config perl ];
|
|
buildInputs = [ libtool ncurses ];
|
|
|
|
meta = with lib; {
|
|
description = "A very basic terminfo library";
|
|
license = licenses.lgpl3Plus;
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|