2022-10-30 15:09:59 +00:00
|
|
|
{ lib, stdenv, fetchgit, openldap, openssl, popt, glib, libxcrypt, ncurses, readline, pkg-config, cyrus_sasl, autoconf, automake }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "ldapvi";
|
2023-02-09 11:40:11 +00:00
|
|
|
version = "unstable-2012-04-28";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# use latest git, it includes some important patches since 2007 release
|
|
|
|
src = fetchgit {
|
|
|
|
url = "http://www.lichteblau.com/git/ldapvi.git";
|
2023-02-09 11:40:11 +00:00
|
|
|
rev = "f1d42bad66cc4623d1ff21fbd5dddbf5009d3e40";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "3ef3103030ecb04d7fe80180e3fd490377cf81fb2af96782323fddabc3225030";
|
|
|
|
};
|
|
|
|
|
2022-04-03 18:54:34 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoconf automake ];
|
2022-10-30 15:09:59 +00:00
|
|
|
buildInputs = [ openldap openssl popt glib libxcrypt ncurses readline cyrus_sasl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd ldapvi
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
2021-03-09 03:18:52 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-01-15 22:18:51 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|