nixpkgs/pkgs/tools/networking/smbldaptools/default.nix
Pascal Wittmann 804d019c6a smbldap-tools: mark as broken
The build fails with the following error

  pod2man: unable to format smbldap-config.cmd
2015-10-12 13:11:12 +02:00

34 lines
920 B
Nix

{stdenv, fetchurl, perl, NetLDAP, makeWrapper, CryptSmbHash, DigestSHA1}:
let
version = "0.9.10";
in
stdenv.mkDerivation {
name = "smbldap-tools-${version}";
src = fetchurl {
url = "http://download.gna.org/smbldap-tools/sources/${version}/smbldap-tools-${version}.tar.gz";
sha256 = "19hsvslfs61pk9nhyqdkd68gc95z26kpkmsj10b8zvzlhqmwdvy4";
};
buildInputs = [ perl NetLDAP makeWrapper CryptSmbHash DigestSHA1 ];
preConfigure = ''
export configureFlags="$configureFlags --with-perl-libdir=$out/lib/perl5/site_perl"
'';
postInstall = ''
for i in $out/sbin/*; do
wrapProgram $i \
--prefix PERL5LIB : $PERL5LIB:$out/lib/perl5/site_perl
done
'';
meta = {
homepage = http://gna.org/projects/smbldap-tools/;
description = "SAMBA LDAP tools";
license = stdenv.lib.licenses.gpl2Plus;
# pod2man: unable to format smbldap-config.cmd
broken = true;
};
}