Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
852 B
Nix
35 lines
852 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
buildGoModule {
|
|
pname = "pkgsite";
|
|
version = "0-unstable-2025-09-11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "golang";
|
|
repo = "pkgsite";
|
|
rev = "133263251ca103a8ccecf603864f229dbdf71237";
|
|
hash = "sha256-RQRJ5OH2Jljf3cWGHPgbZUipYc6LXCH6QUDsDJbxRAI=";
|
|
};
|
|
|
|
vendorHash = "sha256-HrHdtKsp/KcEg0l+ZmBb5gPaJldFiBFpjFBRnUnSEuM=";
|
|
|
|
subPackages = [ "cmd/pkgsite" ];
|
|
|
|
ldflags = [ "-s" ];
|
|
|
|
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
|
|
|
|
meta = {
|
|
description = "Official tool to extract and generate documentation for Go projects like pkg.go.dev";
|
|
homepage = "https://github.com/golang/pkgsite";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ phanirithvij ];
|
|
mainProgram = "pkgsite";
|
|
};
|
|
}
|