88
99buildGoModule ( finalAttrs : {
1010 pname = "VictoriaLogs" ;
11- version = "1.24 .0" ;
11+ version = "1.25 .0" ;
1212
1313 src = fetchFromGitHub {
1414 owner = "VictoriaMetrics" ;
15- repo = "VictoriaMetrics " ;
16- tag = "v${ finalAttrs . version } -victorialogs " ;
17- hash = "sha256-E52hvxazzbz9FcPFZFcRHs2vVg6fJJQ8HsieQovQSi4 =" ;
15+ repo = "VictoriaLogs " ;
16+ tag = "v${ finalAttrs . version } " ;
17+ hash = "sha256-KhXB+37uK08dDYXtnaPDS7gP/gBGZ0gqyR0u572QOx8 =" ;
1818 } ;
1919
2020 vendorHash = null ;
@@ -28,31 +28,12 @@ buildGoModule (finalAttrs: {
2828 "app/vlogscli"
2929 ] ;
3030
31- postPatch = ''
32- # main module (github.com/VictoriaMetrics/VictoriaMetrics) does not contain package
33- # github.com/VictoriaMetrics/VictoriaMetrics/app/vmui/packages/vmui/web
34- #
35- # This appears to be some kind of test server for development purposes only.
36- # rm -f app/vmui/packages/vmui/web/{go.mod,main.go}
37-
38- # Increase timeouts in tests to prevent failure on heavily loaded builders
39- substituteInPlace lib/storage/storage_test.go \
40- --replace-fail "time.After(10 " "time.After(120 " \
41- --replace-fail "time.NewTimer(30 " "time.NewTimer(120 " \
42- --replace-fail "time.NewTimer(time.Second * 10)" "time.NewTimer(time.Second * 120)" \
43- '' ;
44-
4531 ldflags = [
4632 "-s"
4733 "-w"
4834 "-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${ finalAttrs . version } "
4935 ] ;
5036
51- preCheck = ''
52- # `lib/querytracer/tracer_test.go` expects `buildinfo.Version` to be unset
53- export ldflags='' ${ldflags//=${ finalAttrs . version } /=}
54- '' ;
55-
5637 __darwinAllowLocalNetworking = true ;
5738
5839 passthru = {
@@ -61,17 +42,15 @@ buildGoModule (finalAttrs: {
6142 victorialogs
6243 ;
6344 } ;
64- updateScript = nix-update-script {
65- extraArgs = [ "--version-regex=(.*)-victorialogs" ] ;
66- } ;
45+ updateScript = nix-update-script { } ;
6746 } ;
6847
6948 meta = {
7049 homepage = "https://docs.victoriametrics.com/victorialogs/" ;
7150 description = "User friendly log database from VictoriaMetrics" ;
7251 license = lib . licenses . asl20 ;
7352 maintainers = with lib . maintainers ; [ marie ] ;
74- changelog = "https://github.com/VictoriaMetrics/VictoriaMetrics /releases/tag/${ finalAttrs . src . tag } " ;
53+ changelog = "https://github.com/VictoriaMetrics/VictoriaLogs /releases/tag/${ finalAttrs . src . tag } " ;
7554 mainProgram = "victoria-logs" ;
7655 } ;
7756} )
0 commit comments