Merge pull request #293789 from aaronjheng/httplab
httplab: 0.4.0 -> 0.4.2
This commit is contained in:
commit
b21d423e1d
@ -1,25 +1,17 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "httplab";
|
pname = "httplab";
|
||||||
version = "0.4.0";
|
version = "0.4.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "qustavo";
|
owner = "qustavo";
|
||||||
repo = "httplab";
|
repo = "httplab";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-+qcECfQo9Wa4JQ09ujhKjQndmcFn03hTfII636+1ghA=";
|
hash = "sha256-UL1i8JpgofXUB+jtW2EtSR1pM/Fdqnbg2EXPJAjc0H0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = null;
|
vendorHash = "sha256-vL3a9eO5G0WqnqcIjA9D2XM7iQ87JH0q+an2nLcG28A=";
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Add Go Modules support
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/qustavo/httplab/commit/80680bebc83f1ed19216f60339c62cd9213d736b.patch";
|
|
||||||
hash = "sha256-y4KO3FGwKNAfM+4uR3KDbV90d/4JeBGvWtfirDJrWZk=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" ];
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user