diff options
author | Domen Kožar <domen@dev.si> | 2013-11-28 00:15:14 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2013-11-28 00:15:14 +0100 |
commit | 945bcfad300c88f2d19626d224cbe5e817cb3ffc (patch) | |
tree | 15df38fae3c9899495cfa76d4ebdee2362d5b217 /pkgs/tools | |
parent | 65e61d858898599c1c77399ea8eac739143b3760 (diff) | |
download | nixlib-945bcfad300c88f2d19626d224cbe5e817cb3ffc.tar nixlib-945bcfad300c88f2d19626d224cbe5e817cb3ffc.tar.gz nixlib-945bcfad300c88f2d19626d224cbe5e817cb3ffc.tar.bz2 nixlib-945bcfad300c88f2d19626d224cbe5e817cb3ffc.tar.lz nixlib-945bcfad300c88f2d19626d224cbe5e817cb3ffc.tar.xz nixlib-945bcfad300c88f2d19626d224cbe5e817cb3ffc.tar.zst nixlib-945bcfad300c88f2d19626d224cbe5e817cb3ffc.zip |
add ldapvi: interactive LDAP client for Unix terminals. Using it, you can update LDAP entries with a text editor.
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/ldapvi/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/misc/ldapvi/default.nix b/pkgs/tools/misc/ldapvi/default.nix new file mode 100644 index 000000000000..28d9b4863d4b --- /dev/null +++ b/pkgs/tools/misc/ldapvi/default.nix @@ -0,0 +1,30 @@ +{ 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"; + }; + + buildInputs = [ openldap openssl popt glib ncurses readline pkgconfig cyrus_sasl autoconf automake ]; + + setSourceRoot = '' + sourceRoot=git-export/ldapvi + ''; + + preConfigure = '' + ./autogen.sh + ''; + + meta = with stdenv.lib; { + description = "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; [ iElectric ]; + platforms = stdenv.lib.platforms.linux; + }; +} |