tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
httplab: 0.4.0 -> 0.4.2
Aaron Jheng
2 years ago
bc8675ae
9df3e30c
+4
-12
1 changed file
expand all
collapse all
unified
split
pkgs
tools
networking
httplab
default.nix
+4
-12
pkgs/tools/networking/httplab/default.nix
reviewed
···
1
1
-
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
1
1
+
{ lib, buildGoModule, fetchFromGitHub }:
2
2
3
3
buildGoModule rec {
4
4
pname = "httplab";
5
5
-
version = "0.4.0";
5
5
+
version = "0.4.2";
6
6
7
7
src = fetchFromGitHub {
8
8
owner = "qustavo";
9
9
repo = "httplab";
10
10
rev = "v${version}";
11
11
-
hash = "sha256-+qcECfQo9Wa4JQ09ujhKjQndmcFn03hTfII636+1ghA=";
11
11
+
hash = "sha256-UL1i8JpgofXUB+jtW2EtSR1pM/Fdqnbg2EXPJAjc0H0=";
12
12
};
13
13
14
14
-
vendorHash = null;
15
15
-
16
16
-
patches = [
17
17
-
# Add Go Modules support
18
18
-
(fetchpatch {
19
19
-
url = "https://github.com/qustavo/httplab/commit/80680bebc83f1ed19216f60339c62cd9213d736b.patch";
20
20
-
hash = "sha256-y4KO3FGwKNAfM+4uR3KDbV90d/4JeBGvWtfirDJrWZk=";
21
21
-
})
22
22
-
];
14
14
+
vendorHash = "sha256-vL3a9eO5G0WqnqcIjA9D2XM7iQ87JH0q+an2nLcG28A=";
23
15
24
16
ldflags = [ "-s" "-w" ];
25
17