nodeinfo: adopt new package style (#351480)

This commit is contained in:
Aleksana 2024-11-27 21:33:39 +08:00 committed by GitHub
commit c8112a1d66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,18 +16,21 @@ buildGoModule rec {
hash = "sha256-NNrMv4AS7ybuJfTgs+p61btSIxo+iMvzH7Y5ct46Dag="; hash = "sha256-NNrMv4AS7ybuJfTgs+p61btSIxo+iMvzH7Y5ct46Dag=";
}; };
modRoot = "./cli";
tags = "extension"; tags = "extension";
ldflags = [
sourceRoot = "${src.name}/cli"; "-s"
"-w"
];
CGO_ENABLED = 0; CGO_ENABLED = 0;
meta = with lib; { meta = {
mainProgram = "nodeinfo"; mainProgram = "nodeinfo";
description = "Command line tool to query nodeinfo based on a given domain"; description = "Command line tool to query nodeinfo based on a given domain";
homepage = "https://codeberg.org/thefederationinfo/nodeinfo-go"; homepage = "https://codeberg.org/thefederationinfo/nodeinfo-go";
changelog = "https://codeberg.org/thefederationinfo/nodeinfo-go/releases/tag/v${version}"; changelog = "https://codeberg.org/thefederationinfo/nodeinfo-go/releases/tag/v${version}";
license = licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [ _6543 ]; maintainers = [ lib.maintainers._6543 ];
}; };
} }