httplab: 0.4.0 -> 0.4.2

This commit is contained in:
Aaron Jheng 2024-03-06 23:24:32 +08:00
parent 9df3e30ce2
commit bc8675aecc
No known key found for this signature in database
GPG key ID: F6A547A869D050A3

View file

@ -1,25 +1,17 @@
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "httplab";
version = "0.4.0";
version = "0.4.2";
src = fetchFromGitHub {
owner = "qustavo";
repo = "httplab";
rev = "v${version}";
hash = "sha256-+qcECfQo9Wa4JQ09ujhKjQndmcFn03hTfII636+1ghA=";
hash = "sha256-UL1i8JpgofXUB+jtW2EtSR1pM/Fdqnbg2EXPJAjc0H0=";
};
vendorHash = null;
patches = [
# Add Go Modules support
(fetchpatch {
url = "https://github.com/qustavo/httplab/commit/80680bebc83f1ed19216f60339c62cd9213d736b.patch";
hash = "sha256-y4KO3FGwKNAfM+4uR3KDbV90d/4JeBGvWtfirDJrWZk=";
})
];
vendorHash = "sha256-vL3a9eO5G0WqnqcIjA9D2XM7iQ87JH0q+an2nLcG28A=";
ldflags = [ "-s" "-w" ];