summary refs log blame commit diff
path: root/pkgs/applications/misc/hugo/default.nix
blob: d6f8983c5eeb828da03fbfdccb446cd0fbfe3b1d (plain) (tree)
1
2
3
4
5
6
7
8
9
                                           
 
                   
                 
                     
 
                                             

                         


                        
                                                                    

    
                                                                     
 

                                
                        
 
                           
                                                             
                                   
                             
                                                            
    
 
{ stdenv, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "hugo";
  version = "0.61.0";

  goPackagePath = "github.com/gohugoio/hugo";

  src = fetchFromGitHub {
    owner = "gohugoio";
    repo = pname;
    rev = "v${version}";
    sha256 = "1ad70g4gb44dk48pbgk48jzs44b6l7ksxb739ahp7vs1nyvvgffr";
  };

  modSha256 = "1jb1iqlp1005aj8smcgznmwnqaysi5g5wcsj8nvvm70hhc9j8wns";

  buildFlags = "-tags extended";

  subPackages = [ "." ];

  meta = with stdenv.lib; {
    description = "A fast and modern static website engine.";
    homepage = "https://gohugo.io";
    license = licenses.asl20;
    maintainers = with maintainers; [ schneefux filalex77 ];
  };
}