anchor.diff:          '';
   
           license = licenses.ofl;
  -        homepage = https://pagure.io/liberation-fonts/;
  +        homepage = https://github.com/liberationfonts;
           maintainers = [
             maintainers.raskin
           ];
  
positive.code: {stdenv, fetchurl, fontforge, python2}:
  
  let
    inherit (python2.pkgs) fonttools;
  
    common =
      {version, url, sha256, nativeBuildInputs, postPatch ? null, outputHash}:
      stdenv.mkDerivation rec {
        name = "liberation-fonts-${version}";
        src = fetchurl {
          inherit url sha256;
        };
  
        inherit nativeBuildInputs postPatch;
  
negative.code: 
  in {
    liberation_ttf_v1 = common rec {
      repo = "liberation-1.7-fonts";
      version = "1.07.5";
      nativeBuildInputs = [ fontforge ];
      sha256 = "1ffl10mf78hx598sy9qr5m6q2b8n3mpnsj73bwixnd4985gsz56v";
      outputHash = "16jn17p22z2vip58aza2dfg1ri31ki6z3hsnmidfqfi7v8k83vq4";
    };
    liberation_ttf_v2 = common rec {
      repo = "liberation-fonts";
      version = "2.00.4";
      nativeBuildInputs = [ fontforge fonttools ];
      postPatch = ''
        substituteInPlace scripts/setisFixedPitch-fonttools.py --replace \
          'font = ttLib.TTFont(fontfile)' \
          'font = ttLib.TTFont(fontfile, recalcTimestamp=False)'
      '';
      sha256 = "14bn1zlhyr4qaz5z2sx4h115pnbd41ix1vky8fxm2lx76xrjjiaa";
      outputHash = "14c0c5n4vzd5y0hf9jkh48h12kkd8hlg94npbmv41j449g6wv6vn";
    };
  }
  