mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
25 lines
573 B
Nix
25 lines
573 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)" ]
|
|
++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
|
|
|
|
buildInputs = [ libtool pkgconfig ];
|
|
|
|
meta = with lib; {
|
|
description = "A very basic terminfo library";
|
|
license = licenses.lgpl3Plus;
|
|
};
|
|
}
|