@@ -5,22 +5,24 @@
55
66buildGoModule rec {
77 pname = "rtsp-simple-server";
8− version = "0.15.4";
8+ version = "0.17.1";
99
1010 src = fetchFromGitHub {
1111 owner = "aler9";
1212 repo = pname;
1313 rev = "v${version}";
14− sha256 = "sha256-6XdX4HEjDRt9WtqyHIv/NLt7IytNDeJLgCeTHTGybRI=";
14+ sha256 = "sha256-8g9taSFEprJEEPM0hrbCf5QDE41uVdgVVIWjhfEICpU=";
1515 };
1616
17− vendorSha256 = "sha256-T5LWbxYsKnG5eaYLR/rms6+2DXv2lV9o39BvF7HapZY=";
17+ vendorSha256 = "sha256-buQW5jMnHyHc/oYdmfTnoktFRG3V3SNxn7t5mAwmiJI=";
1818
1919 # Tests need docker
2020 doCheck = false;
2121
2222 buildFlagsArray = [
23− "-ldflags=-X main.Version=${version}"
23+ # In the future, we might need to switch to `main.Version`, considering:
24+ # https://github.com/aler9/rtsp-simple-server/issues/503
25+ "-ldflags=-X github.com/aler9/rtsp-simple-server/internal/core.version=v${version}"
2426 ];
2527
2628 meta = with lib; {