nodeinfo: adopt new package style (#351480)
This commit is contained in:
commit
c8112a1d66
@ -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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user