anchor.diff:      description = "Dynamic Host Configuration Protocol (DHCP) tools";
       homepage = http://www.isc.org/products/DHCP/;
       license = licenses.isc;
  -    platforms = platforms.all;
  -    maintainers = with maintainers; [ wkennington ];
  +    maintainers = with maintainers; [
  +      wkennington
  +    ];
  +    platforms = with platforms;
  +      x86_64-linux;
     };
   }
  
positive.code: { stdenv, fetchurl, perl, makeWrapper, autoreconfHook
  , net-tools, iputils, iproute, coreutils, gnused
  
  # Optional Dependencies
  , openldap ? null
  }:
  
  with stdenv;
  
  with stdenv.lib;
  stdenv.mkDerivation rec {
    name = "dhcp-${version}";
    version = "4.3.3-P1";
  
negative.code:     sha256 = "08crcsmg4dm2v533aq3883ik8mf4vvvd6r998r4vrgx1zxnqj7n1";
    };
  
    nativeBuildInputs = [
      perl
      makeWrapper
    ];
  
    buildInputs = [
      openldap
    ];
  
    postPatch = ''
      sed -i "includes/dhcpd.h" \
        -e "s|^ *#define \+_PATH_DHCLIENT_SCRIPT.*$|#define _PATH_DHCLIENT_SCRIPT \"$out/bin/dhclient-script\"|g"
    '';
  
    configureFlags = [
      "--sysconfdir=/etc"
      "--localstatedir=/var"
      "--disable-debug"
      "--enable-failover"
      "--enable-execute"
      "--enable-tracing"
      "--enable-delayed-ack"  # Experimental in 4.3.2
      "--enable-dhcpv6"
      "--enable-paranoia"
      "--enable-early-chroot"
      "--enable-ipv4-pktinfo"
      "--disable-use-sockets"
      "--disable-secs-byteorder"
      "--disable-log-pid"
      "--without-libbind"
      "--with-ldap"
      "--with-ldapcrypto"
    ];
  
    preInstall = ''
      installFlagsArray+=("sysconfdir=$out/etc")
    '';
  
    postInstall = ''
      cp client/scripts/linux $out/bin/dhclient-script
      substituteInPlace $out/bin/dhclient-script \
        --replace /sbin/ip ${iproute}/bin/ip
      wrapProgram "$out/bin/dhclient-script" --prefix PATH : \
        "${net-tools}/bin:${iputils}/bin:${coreutils}/bin:${gnused}/bin"
    '';
  
    # Fails to build the bind library if run in parallel
  