1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00
nixpkgs/pkgs/tools/misc/ldapvi/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

33 lines
1.1 KiB
Nix

{ stdenv, fetchgit, openldap, openssl, popt, glib, ncurses, readline, pkgconfig, cyrus_sasl, autoconf, automake }:
stdenv.mkDerivation rec {
name = "ldapvi-${version}";
version = "0lz1sb5r0y9ypy8d7hm0l2wfa8l69f8ll0i5c78c0apz40nyjqkg";
# use latest git, it includes some important patches since 2007 release
src = fetchgit {
url = "http://www.lichteblau.com/git/ldapvi.git";
sha256 = "3ef3103030ecb04d7fe80180e3fd490377cf81fb2af96782323fddabc3225030";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openldap openssl popt glib ncurses readline cyrus_sasl autoconf automake ];
preConfigure = ''
cd ldapvi
./autogen.sh
'';
meta = with stdenv.lib; {
description = "Interactive LDAP client for Unix terminals";
longDescription = ''
ldapvi is an interactive LDAP client for Unix terminals. Using it, you
can update LDAP entries with a text editor.
'';
homepage = http://www.lichteblau.com/ldapvi/;
license = licenses.gpl2;
maintainers = with maintainers; [ domenkozar ];
platforms = stdenv.lib.platforms.linux;
};
}