anchor.diff:          mkdir -p $out/share/fonts/truetype
           cp -v $( find . -name '*.ttf') $out/share/fonts/truetype
   
  -        mkdir -p "$out/share/doc/${name}"
  -        cp -v AUTHORS ChangeLog COPYING License.txt README "$out/share/doc/${name}" || true
  +        mkdir -p "$out/share/doc/${pname}-${version}"
  +        cp -v AUTHORS ChangeLog COPYING License.txt README "$out/share/doc/${pname}-${version}" || true
         '';
   
         outputHashAlgo = "sha256";
  
positive.code:         '';
  
          license = licenses.ofl;
          homepage = https://pagure.io/liberation-fonts/;
          maintainers = [
            maintainers.raskin
          ];
  
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";
    };
  }
  