File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 1- { lib
2- , buildGoModule
3- , fetchFromGitHub
4- , libpcap
1+ {
2+ lib ,
3+ buildGoModule ,
4+ fetchFromGitHub ,
5+ libpcap ,
56} :
67
78buildGoModule rec {
@@ -11,15 +12,13 @@ buildGoModule rec {
1112 src = fetchFromGitHub {
1213 owner = "assafmo" ;
1314 repo = "joincap" ;
14- rev = "v${ version } " ;
15+ rev = "refs/tags/ v${ version } " ;
1516 hash = "sha256-HvqtAno26ZSggiXbQpkw5ghxCrmmLb5uDdeSQ2QVeq0=" ;
1617 } ;
1718
1819 vendorHash = "sha256-pIu/f7hpSUJG5az7sV9tlXJfIjVT37bTV49kTkR80ek=" ;
1920
20- buildInputs = [
21- libpcap
22- ] ;
21+ buildInputs = [ libpcap ] ;
2322
2423 ldflags = [
2524 "-s"
@@ -28,10 +27,10 @@ buildGoModule rec {
2827
2928 meta = with lib ; {
3029 description = "Merge multiple pcap files together, gracefully" ;
31- mainProgram = "joincap" ;
3230 homepage = "https://github.com/assafmo/joincap" ;
33- changelog = "https://github.com/assafmo/joincap/blob/${ version } /CHANGELOG.md" ;
31+ changelog = "https://github.com/assafmo/joincap/blob/v ${ version } /CHANGELOG.md" ;
3432 license = licenses . mit ;
3533 maintainers = with maintainers ; [ fab ] ;
34+ mainProgram = "joincap" ;
3635 } ;
3736}
You can’t perform that action at this time.
0 commit comments