anchor.diff:  
     enableParallelBuilding = true;
   
  -
     postInstall = ''
       wrapProgram $out/bin/nut-scanner --prefix LD_LIBRARY_PATH : \
         "$out/lib:${neon}/lib:${libusb.out}/lib:${avahi}/lib:${freeipmi}/lib"
  
positive.code: { stdenv, fetchurl, pkgconfig, neon, libusb, openssl, udev, avahi, freeipmi
  , libtool, makeWrapper, nss }:
  
  stdenv.mkDerivation rec {
    name = "nut-2.7.4";
  
    src = fetchurl {
      url = "http://www.networkupstools.org/source/2.7/${name}.tar.gz";
      sha256 = "19r5dm07sfz495ckcgbfy0pasx0zy3faa0q7bih69lsjij8q43lq";
    };
  
    buildInputs = [ neon libusb openssl udev avahi freeipmi libtool nss ];
  
    nativeBuildInputs = [ pkgconfig makeWrapper ];
  
    configureFlags =
      [ "--with-all"
  
negative.code:       interface for monitoring and administering UPS, PDU and SCD hardware.
        It uses a layered approach to connect all of the parts.
      '';
      homepage = https://networkupstools.org/;
      repositories.git = https://github.com/networkupstools/nut.git;
      platforms = platforms.linux;
      maintainers = [ maintainers.pierron ];
  