summary refs log blame commit diff
path: root/pkgs/data/fonts/pecita/default.nix
blob: 1fc252421de6bcf7a5bcc1d3be1b580614e7e217 (plain) (tree)
1
2
3
4
5
6
7
8
9
                  
 
   
                  

  
          
                             
 


                                        
 
                
                                      
                                                              

     
                       

                                                                  
                    






                                                           
{ lib, fetchurl }:

let
  version = "5.4";
in

fetchurl {
  name = "pecita-${version}";

  url = "http://pecita.eu/b/Pecita.otf";

  downloadToTemp = true;

  postFetch = ''
    mkdir -p $out/share/fonts/opentype
    cp -v $downloadedFile $out/share/fonts/opentype/Pecita.otf
  '';

  recursiveHash = true;
  sha256 = "0pwm20f38lcbfkdqkpa2ydpc9kvmdg0ifc4h2dmipsnwbcb5rfwm";

  meta = with lib; {
    homepage = http://pecita.eu/police-en.php;
    description = "Handwritten font with connected glyphs";
    license = licenses.ofl;
    platforms = platforms.all;
    maintainers = [maintainers.rycee];
  };
}