mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
34 lines
857 B
Nix
34 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 ];
|
|
};
|
|
}
|