depot/third_party/nixpkgs/pkgs/by-name/no/nodeinfo/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
857 B
Nix

{
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=";
};
tags = "extension";
sourceRoot = "${src.name}/cli";
CGO_ENABLED = 0;
meta = with lib; {
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 ];
};
}