anchor.diff:          '';
   
           license = licenses.ofl;
  -        homepage = https://pagure.io/liberation-fonts/;
  +        homepage = https://github.com/liberationfonts;
           maintainers = [
             maintainers.raskin
           ];
  
positive.code: 
  in {
    liberation_ttf_v1 = common rec {
      version = "1.07.4";
      url = "https://releases.pagure.org/liberation-fonts/liberation-fonts-${version}.tar.gz";
      sha256 = "01jlg88q2s6by7qv6fmnrlx0lwjarrjrpxv811zjz6f2im4vg65d";
      nativeBuildInputs = [ fontforge ];
      outputHash = "1q102rmg4004p74f8m4y8a6iklmnva0q39sq260jsq3lhcfypg7p";
    };
    liberation_ttf_v2 = common rec {
      version = "2.00.1";
      url = "https://releases.pagure.org/liberation-fonts/liberation-fonts-${version}.tar.gz";
      sha256 = "1ymryvd2nw4jmw4w5y1i3ll2dn48rpkqzlsgv7994lk6qc9cdjvs";
      nativeBuildInputs = [ fontforge fonttools ];
      postPatch = ''
        substituteInPlace scripts/setisFixedPitch-fonttools.py --replace \
          'font = ttLib.TTFont(fontfile)' \
          'font = ttLib.TTFont(fontfile, recalcTimestamp=False)'
      '';
      outputHash = "0nldgawm0a6lpn86w4w3rzx01ns3ph09ar1knq1g4jkxc8ci5rqn";
    };
  }
  
negative.code: { stdenv, fetchFromGitHub, fontforge, python3 }:
  
  let
    inherit (python3.pkgs) fonttools;
  
    common =
      { version, repo, sha256, nativeBuildInputs, postPatch ? null, outputHash }:
      stdenv.mkDerivation rec {
        pname = "liberation-fonts";
        inherit version;
  
        src = fetchFromGitHub {
          owner = "liberationfonts";
          rev = version;
          inherit repo sha256;
        };
  
        inherit nativeBuildInputs postPatch;
  