nixpkgs-suyu/pkgs/development/libraries/unibilium/default.nix

28 lines
759 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, libtool, pkgconfig, perl, ncurses }:
stdenv.mkDerivation rec {
pname = "unibilium-unstable";
version = "20190811";
src = fetchFromGitHub {
owner = "neovim";
repo = "unibilium";
rev = "92d929fabaf94ea4feb48149bbc3bbea77c4fab0";
sha256 = "1l8p3fpdymba62x1f5d990v72z3m5f5g2yf505g0rlf2ysc5r1di";
};
2015-06-10 10:03:23 +02:00
makeFlags = [ "PREFIX=$(out)" ]
++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
2018-02-11 12:00:21 +01:00
nativeBuildInputs = [ pkgconfig perl ];
buildInputs = [ libtool ncurses ];
meta = with lib; {
description = "A very basic terminfo library";
license = licenses.lgpl3Plus;
2016-06-06 10:56:08 +02:00
platforms = platforms.linux ++ platforms.darwin;
2016-03-19 12:01:22 +01:00
maintainers = with maintainers; [ pSub ];
};
}