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

25 lines
662 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook }:
2018-03-27 22:51:02 +00:00
stdenv.mkDerivation rec {
name = "editline-${version}";
version = "1.16.1";
2018-03-27 22:51:02 +00:00
src = fetchFromGitHub {
owner = "troglobit";
repo = "editline";
rev = version;
sha256 = "192valxbvkxh47dszrnahv7xiccarjw9y84g4zaw5y0lxfc54dir";
2018-03-27 22:51:02 +00:00
};
nativeBuildInputs = [ autoreconfHook ];
outputs = [ "out" "dev" "man" "doc" ];
2018-03-27 22:51:02 +00:00
meta = with stdenv.lib; {
homepage = http://troglobit.com/editline.html;
description = "A readline() replacement for UNIX without termcap (ncurses)";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ dtzWill ];
platforms = platforms.all;
};
}