2018-05-12 08:43:05 -07:00
|
|
|
{ stdenv, lib, fetchFromGitHub, libtool, pkgconfig, perl, ncurses }:
|
2015-03-08 20:35:25 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "unibilium-${version}";
|
|
|
|
|
2018-02-11 03:00:21 -08:00
|
|
|
version = "2.0.0";
|
2015-03-08 20:35:25 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mauke";
|
|
|
|
repo = "unibilium";
|
|
|
|
rev = "v${version}";
|
2018-02-11 03:00:21 -08:00
|
|
|
sha256 = "1wa9a32wzqnxqh1jh554afj13dzjr6mw2wzqzw8d08nza9pg2ra2";
|
2015-03-08 20:35:25 -07:00
|
|
|
};
|
|
|
|
|
2015-06-10 01:03:23 -07:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ]
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
|
2015-03-08 20:35:25 -07:00
|
|
|
|
2018-02-11 03:00:21 -08:00
|
|
|
nativeBuildInputs = [ pkgconfig perl ];
|
2018-05-12 08:43:05 -07:00
|
|
|
buildInputs = [ libtool ncurses ];
|
2015-03-08 20:35:25 -07:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A very basic terminfo library";
|
2015-05-28 10:20:29 -07:00
|
|
|
license = licenses.lgpl3Plus;
|
2016-06-06 01:56:08 -07:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2016-03-19 04:01:22 -07:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2015-03-08 20:35:25 -07:00
|
|
|
};
|
|
|
|
}
|