c43b787f96
Unibilium is a very basic terminfo library. It doesn't depend on curses or any other library. It also doesn't use global variables, so it should be thread-safe.
24 lines
507 B
Nix
24 lines
507 B
Nix
{ 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";
|
|
};
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
buildInputs = [ libtool pkgconfig ];
|
|
|
|
meta = with lib; {
|
|
description = "A very basic terminfo library";
|
|
license = with licenses; [ lgpl3Plus ];
|
|
};
|
|
}
|