2015-03-09 04:35:25 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, libtool, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "unibilium-${version}";
|
|
|
|
|
|
|
|
version = "1.1.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mauke";
|
|
|
|
repo = "unibilium";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "143j7qrqjxxmdf3yzhn6av2qwiyjjk4cnskkgz6ir2scjfd5gvja";
|
|
|
|
};
|
|
|
|
|
2015-06-10 10:03:23 +02:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ]
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
|
2015-03-09 04:35:25 +01:00
|
|
|
|
|
|
|
buildInputs = [ libtool pkgconfig ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A very basic terminfo library";
|
2015-05-28 19:20:29 +02:00
|
|
|
license = licenses.lgpl3Plus;
|
2015-03-09 04:35:25 +01:00
|
|
|
};
|
|
|
|
}
|