nixpkgs/pkgs/tools/networking/httplab/default.nix
2024-03-06 23:24:32 +08:00

26 lines
609 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "httplab";
version = "0.4.2";
src = fetchFromGitHub {
owner = "qustavo";
repo = "httplab";
rev = "v${version}";
hash = "sha256-UL1i8JpgofXUB+jtW2EtSR1pM/Fdqnbg2EXPJAjc0H0=";
};
vendorHash = "sha256-vL3a9eO5G0WqnqcIjA9D2XM7iQ87JH0q+an2nLcG28A=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
homepage = "https://github.com/qustavo/httplab";
description = "Interactive WebServer";
license = licenses.mit;
maintainers = with maintainers; [ pradeepchhetri ];
mainProgram = "httplab";
};
}