anchor.diff:    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
  
positive.code:     autoreconfHook
    ];
    buildInputs = [
      makeWrapper curl sasl jdk
      python wrapPython boto setuptools leveldb
      subversion apr glog openssl libevent maven
    ] ++ lib.optionals stdenv.isLinux [
      libnl
    ];
  
    propagatedBuildInputs = [
  
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;
    };
  }
  