nixpkgs/pkgs/tools/misc/ldapvi/default.nix

33 lines
1.0 KiB
Nix
Raw Normal View History

2021-01-17 03:51:22 +00:00
{ lib, stdenv, fetchgit, openldap, openssl, popt, glib, ncurses, readline, pkg-config, cyrus_sasl, autoconf, automake }:
2019-08-13 21:52:01 +00:00
stdenv.mkDerivation {
pname = "ldapvi";
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 = [ pkg-config autoconf automake ];
buildInputs = [ openldap openssl popt glib ncurses readline cyrus_sasl ];
preConfigure = ''
cd ldapvi
./autogen.sh
'';
meta = with 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; [ ];
2021-01-15 09:19:50 +00:00
platforms = lib.platforms.linux;
};
}