File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ buildGoModule ,
3+ fetchFromGitHub ,
4+ lib ,
5+ nix-update-script ,
6+ versionCheckHook ,
7+ } :
8+
9+ buildGoModule rec {
10+ pname = "nftrace" ;
11+ version = "0.1.0" ;
12+
13+ src = fetchFromGitHub {
14+ owner = "aojea" ;
15+ repo = "nftrace" ;
16+ tag = "v${ version } " ;
17+ hash = "sha256-MTLl3XLDIjcK5GymW7D3B8+/A6W+kQ4cz5bbrfo6fQc=" ;
18+ } ;
19+
20+ vendorHash = "sha256-UrsvUMdLWGX2QRFLxBLvMW1B5vZdcWI/lpyKiNAtA2o=" ;
21+
22+ ldflags = [
23+ "-s"
24+ "-w"
25+ ] ;
26+
27+ nativeInstallCheckInputs = [ versionCheckHook ] ;
28+
29+ passthru . updateScript = nix-update-script { } ;
30+
31+ meta = {
32+ description = "Commodity tool to use nftables trace functionality" ;
33+ homepage = "https://github.com/aojea/nftrace" ;
34+ changelog = "https://github.com/aojea/nftrace/releases/tag/v${ version } " ;
35+ license = lib . licenses . asl20 ;
36+ maintainers = [ lib . maintainers . jmbaur ] ;
37+ mainProgram = "nftrace" ;
38+ } ;
39+ }
You can’t perform that action at this time.
0 commit comments