anchor.diff:  , humanize
   , txtorcon
   , nettools
  -, glibcLocales
   , mock
   , magic-wormhole-transit-relay
   , magic-wormhole-mailbox-server
  
positive.code: { lib, stdenv
  , buildPythonPackage
  , fetchPypi
  , isPy27
  , spake2
  , pynacl
  , six
  
negative.code:       --replace 'getProcessOutputAndValue("locale", ["-a"])' 'getProcessOutputAndValue("locale", ["-a"], env=os.environ)' \
        --replace 'if (os.path.dirname(os.path.abspath(wormhole))' 'if not os.path.abspath(wormhole).startswith("/nix/store") and (os.path.dirname(os.path.abspath(wormhole))' \
        --replace 'locale_env = dict(LC_ALL=locale, LANG=locale)' 'locale_env = dict(LC_ALL=locale, LANG=locale, LOCALE_ARCHIVE=os.getenv("LOCALE_ARCHIVE"))'
  
      trial -j$NIX_BUILD_CORES wormhole
    '';
  
    meta = with lib; {
      description = "Securely transfer data between computers";
      homepage = "https://github.com/magic-wormhole/magic-wormhole";
      license = licenses.mit;
      maintainers = with maintainers; [ asymmetric SuperSandro2000 ];
      mainProgram = "wormhole";
    };
  }
  