Loading pkgs/by-name/hu/hugo/package.nix +37 −21 Original line number Diff line number Diff line { stdenv , lib , buildGoModule , fetchFromGitHub , installShellFiles , buildPackages , testers , hugo { stdenv, lib, buildGoModule, fetchFromGitHub, installShellFiles, buildPackages, testers, nix-update-script, hugo, }: buildGoModule rec { pname = "hugo"; version = "0.135.0"; version = "0.136.4"; src = fetchFromGitHub { owner = "gohugoio"; repo = "hugo"; rev = "refs/tags/v${version}"; hash = "sha256-WCWaEVD2HON6feOev9HBfpqBWYIFmfevu6LH0OMtv2Q="; hash = "sha256-wCv0lZqvJNOwL/naFuGb6k0Xyk58NpgH1mkhoNnkSno="; }; vendorHash = "sha256-XIFgmT0VyhRrUNfwy85Ac7YIO9fij0KqVmqb/s3IDVg="; vendorHash = "sha256-KqDsa7MlSONyn7AYOepQ95q1CEM83AhWk23iYSQ4twU="; doCheck = false; Loading @@ -31,9 +33,17 @@ buildGoModule rec { nativeBuildInputs = [ installShellFiles ]; ldflags = [ "-s" "-w" "-X github.com/gohugoio/hugo/common/hugo.vendorInfo=nixpkgs" ]; ldflags = [ "-s" "-w" "-X github.com/gohugoio/hugo/common/hugo.vendorInfo=nixpkgs" ]; postInstall = let emulator = stdenv.hostPlatform.emulator buildPackages; in '' postInstall = let emulator = stdenv.hostPlatform.emulator buildPackages; in '' ${emulator} $out/bin/hugo gen man installManPage man/* installShellCompletion --cmd hugo \ Loading @@ -48,12 +58,18 @@ buildGoModule rec { version = "v${version}"; }; passthru.updateScript = nix-update-script { }; meta = { changelog = "https://github.com/gohugoio/hugo/releases/tag/v${version}"; description = "Fast and modern static website engine"; homepage = "https://gohugo.io"; license = lib.licenses.asl20; mainProgram = "hugo"; maintainers = with lib.maintainers; [ schneefux Br1ght0ne Frostman ]; maintainers = with lib.maintainers; [ schneefux Br1ght0ne Frostman ]; }; } Loading
pkgs/by-name/hu/hugo/package.nix +37 −21 Original line number Diff line number Diff line { stdenv , lib , buildGoModule , fetchFromGitHub , installShellFiles , buildPackages , testers , hugo { stdenv, lib, buildGoModule, fetchFromGitHub, installShellFiles, buildPackages, testers, nix-update-script, hugo, }: buildGoModule rec { pname = "hugo"; version = "0.135.0"; version = "0.136.4"; src = fetchFromGitHub { owner = "gohugoio"; repo = "hugo"; rev = "refs/tags/v${version}"; hash = "sha256-WCWaEVD2HON6feOev9HBfpqBWYIFmfevu6LH0OMtv2Q="; hash = "sha256-wCv0lZqvJNOwL/naFuGb6k0Xyk58NpgH1mkhoNnkSno="; }; vendorHash = "sha256-XIFgmT0VyhRrUNfwy85Ac7YIO9fij0KqVmqb/s3IDVg="; vendorHash = "sha256-KqDsa7MlSONyn7AYOepQ95q1CEM83AhWk23iYSQ4twU="; doCheck = false; Loading @@ -31,9 +33,17 @@ buildGoModule rec { nativeBuildInputs = [ installShellFiles ]; ldflags = [ "-s" "-w" "-X github.com/gohugoio/hugo/common/hugo.vendorInfo=nixpkgs" ]; ldflags = [ "-s" "-w" "-X github.com/gohugoio/hugo/common/hugo.vendorInfo=nixpkgs" ]; postInstall = let emulator = stdenv.hostPlatform.emulator buildPackages; in '' postInstall = let emulator = stdenv.hostPlatform.emulator buildPackages; in '' ${emulator} $out/bin/hugo gen man installManPage man/* installShellCompletion --cmd hugo \ Loading @@ -48,12 +58,18 @@ buildGoModule rec { version = "v${version}"; }; passthru.updateScript = nix-update-script { }; meta = { changelog = "https://github.com/gohugoio/hugo/releases/tag/v${version}"; description = "Fast and modern static website engine"; homepage = "https://gohugo.io"; license = lib.licenses.asl20; mainProgram = "hugo"; maintainers = with lib.maintainers; [ schneefux Br1ght0ne Frostman ]; maintainers = with lib.maintainers; [ schneefux Br1ght0ne Frostman ]; }; }