3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/unibilium/default.nix
2018-02-11 12:00:21 +01:00

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 ];
};
}