mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
pkgsite: init at 0-unstable-2024-12-06
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com> Co-authored-by: Kenichi Kamiya <kachick1@gmail.com>
This commit is contained in:
parent
e0431c7d4f
commit
5627b82bfb
34
pkgs/by-name/pk/pkgsite/package.nix
Normal file
34
pkgs/by-name/pk/pkgsite/package.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "pkgsite";
|
||||
version = "0-unstable-2024-12-06";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "golang";
|
||||
repo = "pkgsite";
|
||||
rev = "37884bfc1a9e2aa46989ac56e671bcbd240bb4f7";
|
||||
hash = "sha256-RZTRfB1mEM13x/vLrxu7877C7Zh/kJxpYMP9xR2OOXw=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Ijcj1Nq4WjXcUqmoDkpO9I4rl/4/TMXFMQVAlEK11R8=";
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user