anchor.diff:      doCheck = false; # check this again
     };
   
  -  openssl = buildGoPackage rec {
  -    rev = "84b5df477423634115e53fb171a66007cece19f5";
  -    name = "openssl-${stdenv.lib.strings.substring 0 7 rev}";
  -    goPackagePath = "github.com/spacemonkeygo/openssl";
  -    src = fetchFromGitHub {
  -      inherit rev;
  -      owner = "spacemonkeygo";
  -      repo = "openssl";
  -      sha256 = "1l0cyazxp8bwmi151djyr6pknj9jv8n53lgfhgj6l0zj32p5kh1v";
  -    };
  -    buildInputs = [ spacelog pkgconfig pkgs.openssl ];
  +  openssl = buildFromGitHub {
  +    rev = "4c6dbafa5ec35b3ffc6a1b1e1fe29c3eba2053ec";
  +    owner = "10gen";
  +    repo = "openssl";
  +    sha256 = "1033c9vgv9lf8ks0qjy0ylsmx1hizqxa6izalma8vi30np6ka6zn";
  +    goPackageAliases = [ "github.com/spacemonkeygo/openssl" ];
  +    buildInputs = [ pkgs.pkgconfig pkgs.openssl ];
  +    propagatedBuildInputs = [ spacelog ];
  +
  +    preBuild = ''
  +      find go/src/$goPackagePath -name \*.go | xargs sed -i 's,spacemonkeygo/openssl,10gen/openssl,g'
  +    '';
     };
   
     osext = buildFromGitHub {
  
positive.code:     propagatedBuildInputs = [ pty ];
    };
  
    tomb = buildGoPackage rec {
      rev = "14b3d72120e8d10ea6e6b7f87f7175734b1faab8";
      name = "tomb-${stdenv.lib.strings.substring 0 7 rev}";
      goPackagePath = "gopkg.in/tomb.v2";
      src = fetchFromGitHub {
        inherit rev;
        owner = "go-tomb";
        repo = "tomb";
        sha256 = "1nza31jvkpka5431c4bdbirvjdy36b1b55sbzljqhqih25jrcjx5";
      };
    };
  
    toml = buildFromGitHub {
  
negative.code:     };
    };
  
    mgo = buildFromGitHub {
      rev = "r2015.06.03";
      owner = "go-mgo";
      repo = "mgo";
      sha256 = "1bwqbngdy0ghwpvarsz8rlrirdmjrda44aghihpfmin06hxy3zcd";
      goPackagePath = "gopkg.in/mgo.v2";
      goPackageAliases = [ "github.com/go-mgo/mgo" ];
      buildInputs = [ pkgs.cyrus_sasl tomb ];
    };
  
    mongo-tools = buildFromGitHub {
      rev    = "621464ebd2ba0c6ee373600b0cb7fd4216405550";
      owner  = "mongodb";
      repo   = "mongo-tools";
      sha256 = "0hgh5h7bpn5xxnxgmw30fi51l4cb4g029nih8j8m0sr4if0n9vkf";
      buildInputs = [ gopass go-flags mgo openssl tomb ];
      excludedPackages = "vendor";
  
      # Mongodb incorrectly names all of their binaries main
      # Let's work around this with our own installer
      installPhase = ''
        mkdir -p $out/bin
        while read b; do
          rm -f go/bin/main
          go install $goPackagePath/$b/main
          cp go/bin/main $out/bin/$b
        done < <(find go/src/$goPackagePath -name main | xargs dirname | xargs basename -a)
      '';
    };
  
    mousetrap = buildFromGitHub {
  