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=";
};
modRoot = "./cli";
tags = "extension";
sourceRoot = "${src.name}/cli";
ldflags = [
"-s"
"-w"
];
CGO_ENABLED = 0;
meta = with lib; {
meta = {
mainProgram = "nodeinfo";
description = "Command line tool to query nodeinfo based on a given domain";
homepage = "https://codeberg.org/thefederationinfo/nodeinfo-go";
changelog = "https://codeberg.org/thefederationinfo/nodeinfo-go/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ _6543 ];
license = lib.licenses.mit;
maintainers = [ lib.maintainers._6543 ];
};
}