Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
25 lines
609 B
Nix
25 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";
|
|
};
|
|
}
|