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

25 lines
662 B
Nix
Raw Normal View History

2018-03-27 23:51:02 +01:00
{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
name = "editline-${version}";
version = "1.16.0";
2018-03-27 23:51:02 +01:00
src = fetchFromGitHub {
owner = "troglobit";
repo = "editline";
rev = version;
sha256 = "0a751dp34mk9hwv59ss447csknpm5i5cgd607m3fqf24rszyhbf2";
2018-03-27 23:51:02 +01:00
};
nativeBuildInputs = [ autoreconfHook ];
outputs = [ "out" "dev" "man" "doc" ];
2018-03-27 23:51:02 +01: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;
};
}