1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/unibilium/default.nix

28 lines
710 B
Nix
Raw Normal View History

2018-02-11 11:00:21 +00:00
{ stdenv, lib, fetchFromGitHub, libtool, pkgconfig, perl }:
stdenv.mkDerivation rec {
name = "unibilium-${version}";
2018-02-11 11:00:21 +00:00
version = "2.0.0";
src = fetchFromGitHub {
owner = "mauke";
repo = "unibilium";
rev = "v${version}";
2018-02-11 11:00:21 +00:00
sha256 = "1wa9a32wzqnxqh1jh554afj13dzjr6mw2wzqzw8d08nza9pg2ra2";
};
2015-06-10 09:03:23 +01:00
makeFlags = [ "PREFIX=$(out)" ]
++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
2018-02-11 11:00:21 +00:00
nativeBuildInputs = [ pkgconfig perl ];
buildInputs = [ libtool ];
meta = with lib; {
description = "A very basic terminfo library";
license = licenses.lgpl3Plus;
2016-06-06 09:56:08 +01:00
platforms = platforms.linux ++ platforms.darwin;
2016-03-19 11:01:22 +00:00
maintainers = with maintainers; [ pSub ];
};
}