1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "httplab";
9 version = "0.4.2";
10
11 src = fetchFromGitHub {
12 owner = "qustavo";
13 repo = "httplab";
14 rev = "v${version}";
15 hash = "sha256-UL1i8JpgofXUB+jtW2EtSR1pM/Fdqnbg2EXPJAjc0H0=";
16 };
17
18 vendorHash = "sha256-vL3a9eO5G0WqnqcIjA9D2XM7iQ87JH0q+an2nLcG28A=";
19
20 ldflags = [
21 "-s"
22 "-w"
23 ];
24
25 meta = with lib; {
26 homepage = "https://github.com/qustavo/httplab";
27 description = "Interactive WebServer";
28 license = licenses.mit;
29 maintainers = with maintainers; [ pradeepchhetri ];
30 mainProgram = "httplab";
31 };
32}