anchor.diff:        "--without-cgi"
         "--without-hal"
         "--with-systemdsystemunitdir=$(out)/etc/systemd/systemd"
  +      "--with-udev-dir=$(out)/etc/udev"
       ];
   
     enableParallelBuilding = true;
  +
  +  
  +  postInstall = ''
  +    wrapProgram $out/bin/nut-scanner --prefix LD_LIBRARY_PATH : \
  +      "$out/lib:${neon}/lib:${libusb}/lib:${avahi}/lib:${freeipmi}/lib"
  +  '';
   
     meta = {
       description = "Network UPS Tools";
  
positive.code:       It uses a layered approach to connect all of the parts.
      '';
      homepage = http://www.networkupstools.org/;
      platforms = with stdenv.lib.platforms; linux;
      maintainers = with stdenv.lib.maintainers; [ pierron ];
      priority = 10;
  
negative.code: { stdenv, fetchurl, pkgconfig, neon, libusb, openssl, udev, avahi, freeipmi
  , libtool, makeWrapper }:
  
  stdenv.mkDerivation rec {
    name = "nut-2.7.1";
  
    src = fetchurl {
      url = "http://www.networkupstools.org/source/2.7/${name}.tar.gz";
      sha256 = "1667n9h8jcz7k6h24fn615khqahlq5z22zxs4s0q046rsqxdg9ki";
    };
  
    buildInputs = [ neon libusb openssl udev avahi freeipmi libtool ];
  
    nativeBuildInputs = [ pkgconfig makeWrapper ];
  
    configureFlags =
      [ "--with-all"
  