2024-04-21 15:54:59 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "httplab";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.4.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2023-02-02 18:25:31 +00:00
|
|
|
owner = "qustavo";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "httplab";
|
2023-02-02 18:25:31 +00:00
|
|
|
rev = "v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-UL1i8JpgofXUB+jtW2EtSR1pM/Fdqnbg2EXPJAjc0H0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
vendorHash = "sha256-vL3a9eO5G0WqnqcIjA9D2XM7iQ87JH0q+an2nLcG28A=";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://github.com/qustavo/httplab";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Interactive WebServer";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ pradeepchhetri ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "httplab";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|