nixpkgs/pkgs/development/libraries/editline/default.nix
Eelco Dolstra 0385cb33c6
libeditline: Use multiple outputs
Also disable static build by default per Nixpkgs policy. (Really
static libraries should be moved to the 'dev' output, in which case it
wouldn't be a problem to enable them by default.)
2018-10-30 16:01:49 +01:00

25 lines
662 B
Nix

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