Files
nixpkgs/pkgs/by-name/ld/ldapvi/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

69 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchgit,
openldap,
openssl,
popt,
glib,
libxcrypt,
ncurses,
readline,
pkg-config,
cyrus_sasl,
autoconf,
automake,
}:
stdenv.mkDerivation {
pname = "ldapvi";
version = "unstable-2012-04-28";
# use latest git, it includes some important patches since 2007 release
src = fetchgit {
url = "http://www.lichteblau.com/git/ldapvi.git";
rev = "f1d42bad66cc4623d1ff21fbd5dddbf5009d3e40";
sha256 = "3ef3103030ecb04d7fe80180e3fd490377cf81fb2af96782323fddabc3225030";
};
env.NIX_CFLAGS_COMPILE = toString [
"-Wno-implicit-function-declaration"
"-Wno-error=int-conversion"
"-Wno-error=return-mismatch"
];
nativeBuildInputs = [
pkg-config
autoconf
automake
];
buildInputs = [
openldap
openssl
popt
glib
libxcrypt
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.gpl2Plus;
maintainers = [ ];
platforms = lib.platforms.linux;
mainProgram = "ldapvi";
};
}