anchor.diff:    pname = "liblangtag";
     version = "0.6.3";
   
  -  src = fetchFromBitbucket {
  -    owner = "tagoh";
  -    repo = pname;
  -    rev = version;
  -    sha256 = "10rycs8xrxzf9frzalv3qx8cs1jcildhrr4imzxdmr9f4l585z96";
  +  # Artifact tarball contains lt-localealias.h needed for darwin
  +  src = fetchurl {
  +    url = "https://bitbucket.org/tagoh/liblangtag/downloads/${pname}-${version}.tar.bz2";
  +    sha256 = "sha256-HxKiCgLsOo0i5U3tuLaDpDycFgvaG6M3vxBgYHrnM70=";
     };
   
     core_zip = fetchurl {
  
positive.code: { lib, stdenv, fetchurl, fetchFromBitbucket, autoreconfHook, gtk-doc, gettext
  , pkg-config, glib, libxml2, gobject-introspection, gnome-common, unzip
  }:
  
  
negative.code:     cp "${language_subtag_registry}" data/language-subtag-registry
    '';
  
    configureFlags =
      lib.optional
        (stdenv.hostPlatform.libc == "glibc")
        "--with-locale-alias=${stdenv.cc.libc}/share/locale/locale.alias";
  
    buildInputs = [ gettext glib libxml2 gobject-introspection gnome-common ];
    nativeBuildInputs = [ autoreconfHook gtk-doc gettext pkg-config unzip ];
  
    meta = with lib; {
      description = "An interface library to access tags for identifying languages";
      license = licenses.mpl20;
      maintainers = [ maintainers.raskin ];
      platforms = platforms.unix;
      # There are links to a homepage that are broken by a BitBucket change
      homepage = "https://bitbucket.org/tagoh/liblangtag/overview";
    };
  