mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
28 lines
710 B
Nix
28 lines
710 B
Nix
{ stdenv, lib, fetchFromGitHub, libtool, pkgconfig, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "unibilium-${version}";
|
|
|
|
version = "2.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mauke";
|
|
repo = "unibilium";
|
|
rev = "v${version}";
|
|
sha256 = "1wa9a32wzqnxqh1jh554afj13dzjr6mw2wzqzw8d08nza9pg2ra2";
|
|
};
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ]
|
|
++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
|
|
|
|
nativeBuildInputs = [ pkgconfig perl ];
|
|
buildInputs = [ libtool ];
|
|
|
|
meta = with lib; {
|
|
description = "A very basic terminfo library";
|
|
license = licenses.lgpl3Plus;
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|