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

                               
 
                                                                                         
 
                
                                      
                                                         

     

                                                                  
                    


                                                           


                              
{ lib, fetchzip }:

let
  version = "1.2";
in fetchzip {
  name = "mononoki-${version}";

  url = "https://github.com/madmalik/mononoki/releases/download/${version}/mononoki.zip";

  postFetch = ''
    mkdir -p $out/share/fonts/mononoki
    unzip -j $downloadedFile -d $out/share/fonts/mononoki
  '';

  sha256 = "19y4xg7ilm21h9yynyrwcafdqn05zknpmmjrb37qim6p0cy2glff";

  meta = with lib; {
    homepage = https://github.com/madmalik/mononoki;
    description = "A font for programming and code review";
    license = licenses.ofl;
    platforms = platforms.all;
  };
}