mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03: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 ];
|
|
};
|
|
}
|