anchor.diff:  , leveldb, glog, perf, utillinux, libnl, iproute, openssl, libevent
   , ethtool, coreutils, which, iptables, maven
   , bash, autoreconfHook
  +, withJava ? !stdenv.isDarwin
   }:
   
   let
  
positive.code:   postInstall = ''
      rm -rf $out/var
      rm $out/bin/*.sh
  
      mkdir -p $out/share/java
      cp src/java/target/mesos-*.jar $out/share/java
  
      MESOS_NATIVE_JAVA_LIBRARY=$out/lib/libmesos${stdenv.hostPlatform.extensions.sharedLibrary}
  
      mkdir -p $out/nix-support
      touch $out/nix-support/setup-hook
      echo "export MESOS_NATIVE_JAVA_LIBRARY=$MESOS_NATIVE_JAVA_LIBRARY" >> $out/nix-support/setup-hook
      echo "export MESOS_NATIVE_LIBRARY=$MESOS_NATIVE_JAVA_LIBRARY" >> $out/nix-support/setup-hook
  
      # Inspired by: pkgs/development/python-modules/generic/default.nix
      pushd src/python
  
negative.code:     license     = licenses.asl20;
      description = "A cluster manager that provides efficient resource isolation and sharing across distributed applications, or frameworks";
      maintainers = with maintainers; [ cstrahan kevincox offline ];
      platforms   = platforms.unix;
    };
  }
  