nixpkgs/pkgs/by-name/no/nodeinfo/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
876 B
Nix
Raw Normal View History

2024-04-26 23:31:42 +00:00
{
lib,
fetchFromGitea,
buildGoModule,
}:
buildGoModule rec {
pname = "nodeinfo";
version = "0.3.2";
vendorHash = "sha256-4nHdz/Js8xBUMiH+hH+hSYP25cB4yHbe+QVk0RMqLgc=";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "thefederationinfo";
repo = "nodeinfo-go";
rev = "refs/tags/v${version}";
hash = "sha256-NNrMv4AS7ybuJfTgs+p61btSIxo+iMvzH7Y5ct46Dag=";
};
2024-11-26 13:01:39 +00:00
modRoot = "./cli";
2024-11-29 02:01:14 +00:00
tags = [ "extension" ];
2024-11-26 13:01:39 +00:00
ldflags = [
"-s"
"-w"
];
2024-04-26 23:31:42 +00:00
CGO_ENABLED = 0;
2024-10-26 16:28:11 +00:00
meta = {
2024-04-26 23:31:42 +00:00
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}";
2024-10-26 16:28:11 +00:00
license = lib.licenses.mit;
maintainers = [ lib.maintainers._6543 ];
2024-04-26 23:31:42 +00:00
};
}