lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 22.05-pre 41 lines 1.0 kB view raw
1{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: 2 3buildGoModule rec { 4 pname = "hugo"; 5 version = "0.88.1"; 6 7 src = fetchFromGitHub { 8 owner = "gohugoio"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-yuFFp/tgyziR4SXul2PlMhKmRl7C7OSrW8/kCCUpzI0="; 12 }; 13 14 vendorSha256 = "sha256-VX+oIz5wAyEQ4nky3kXmJZbMF0MvfAKdEAMLnS0hXc8="; 15 16 doCheck = false; 17 18 runVend = true; 19 20 tags = [ "extended" ]; 21 22 subPackages = [ "." ]; 23 24 nativeBuildInputs = [ installShellFiles ]; 25 26 postInstall = '' 27 $out/bin/hugo gen man 28 installManPage man/* 29 installShellCompletion --cmd hugo \ 30 --bash <($out/bin/hugo gen autocomplete --type=bash) \ 31 --fish <($out/bin/hugo gen autocomplete --type=fish) \ 32 --zsh <($out/bin/hugo gen autocomplete --type=zsh) 33 ''; 34 35 meta = with lib; { 36 description = "A fast and modern static website engine"; 37 homepage = "https://gohugo.io"; 38 license = licenses.asl20; 39 maintainers = with maintainers; [ schneefux Br1ght0ne Frostman ]; 40 }; 41}