nixpkgs/pkgs/development/libraries/unibilium/default.nix

28 lines
699 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, libtool, pkgconfig }:
stdenv.mkDerivation rec {
name = "unibilium-${version}";
2017-10-22 10:36:04 +01:00
version = "1.2.1";
src = fetchFromGitHub {
owner = "mauke";
repo = "unibilium";
rev = "v${version}";
2017-10-22 10:36:04 +01:00
sha256 = "11mbfijdrvbmdlmxs8j4vij78ki0vna89yg3r9n9g1i6j45hiq2r";
};
2015-06-10 09:03:23 +01:00
makeFlags = [ "PREFIX=$(out)" ]
++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
nativeBuildInputs = [ pkgconfig ];
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 ];
};
}