blob: 61cb8708fdcf27cedc411e2a7beb54e98230561b (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "whoami";
version = "1.11.0";
src = fetchFromGitHub {
owner = "traefik";
repo = "whoami";
rev = "v${version}";
hash = "sha256-3jzLdCmmts/7S1Oxig9Dg3kRGh/H5l5UD7ztev0yvXY=";
};
vendorHash = "sha256-0Qxw+MUYVgzgWB8vi3HBYtVXSq/btfh4ZfV/m1chNrA=";
ldflags = [ "-s" ];
env.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 ];
};
}
|