whoami: init at 1.10.3 (#348647)

This commit is contained in:
Pol Dellaiera 2024-10-15 14:52:32 +02:00 committed by GitHub
commit 4bb7fb553d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 40 additions and 0 deletions

View File

@ -5841,6 +5841,12 @@
githubId = 6872940;
name = "Dennis Værum";
};
dvcorreia = {
email = "dv_correia@hotmail.com";
name = "Diogo Correia";
github = "dvcorreia";
githubId = 20357938;
};
dvn0 = {
email = "git@dvn.me";
github = "dvn0";

View File

@ -0,0 +1,34 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "whoami";
version = "1.10.3";
src = fetchFromGitHub {
owner = "traefik";
repo = "whoami";
rev = "v${version}";
hash = "sha256-wzxgmysqn4aWAZEaMjMwHdHLe4UZ4nwdNFJw5X7fuKQ=";
};
vendorHash = "sha256-qDfkYIAymkFUtbKka9OLoYjT+S9KhOra2UtOvhoz5Mw=";
ldflags = [ "-s" ];
CGO_ENABLED = 0;
doCheck = false;
meta = {
description = "Tiny Go server that prints os information and HTTP request to output";
mainProgram = "whoami";
homepage = "https://github.com/traefik/whoami";
changelog = "https://github.com/traefik/whoami/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dvcorreia ];
};
}