depot/third_party/nixpkgs/pkgs/development/libraries/unibilium/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

27 lines
695 B
Nix

{ stdenv, lib, fetchFromGitHub, libtool, pkg-config, perl, ncurses }:
stdenv.mkDerivation rec {
pname = "unibilium";
version = "2.1.1";
src = fetchFromGitHub {
owner = "neovim";
repo = "unibilium";
rev = "v${version}";
sha256 = "sha256-A/WECvma7u/Mmecvzi0cP168dt4v+zwC8CiFBkqWezA=";
};
makeFlags = [ "PREFIX=$(out)" "LIBTOOL=${libtool}/bin/libtool" ];
strictDeps = true;
nativeBuildInputs = [ pkg-config perl libtool ];
buildInputs = [ ncurses ];
meta = with lib; {
description = "Very basic terminfo library";
license = licenses.lgpl3Plus;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ pSub ];
};
}