2015-03-09 04:35:25 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, libtool, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "unibilium-${version}";
|
|
|
|
|
2016-03-19 12:01:22 +01:00
|
|
|
version = "1.2.0";
|
2015-03-09 04:35:25 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mauke";
|
|
|
|
repo = "unibilium";
|
|
|
|
rev = "v${version}";
|
2016-03-19 12:01:22 +01:00
|
|
|
sha256 = "1qsw19irg70l29j7qv403f32l4rrzn53w7881a6h874j9gisl51s";
|
2015-03-09 04:35:25 +01:00
|
|
|
};
|
|
|
|
|
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;
|
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 ];
|
2015-03-09 04:35:25 +01:00
|
|
|
};
|
|
|
|
}
|