summary refs log tree commit diff
path: root/pkgs/tools/misc/ldapvi/default.nix
blob: 759e86080903bad9bfa65d16c5c7f8e5ad30194b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, stdenv, fetchgit, openldap, openssl, popt, glib, ncurses, readline, pkg-config, cyrus_sasl, autoconf, automake }:

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 ];
  buildInputs = [ openldap openssl popt glib ncurses readline cyrus_sasl autoconf automake ];

  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; [ ];
    platforms = lib.platforms.linux;
  };
}