927d8811c4
go2rtc: 1.8.2 -> 1.8.4
40 lines
890 B
Nix
40 lines
890 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "go2rtc";
|
|
version = "1.8.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AlexxIT";
|
|
repo = "go2rtc";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-knC8GWu8543QIvk2OKotTHB88qgSQpOI+58oHusgVKc=";
|
|
};
|
|
|
|
vendorHash = "sha256-+n0atALq5e2iEbEeJ1kefnKka7gTE0iFRSRnUCz4bh8=";
|
|
|
|
buildFlagArrays = [
|
|
"-trimpath"
|
|
];
|
|
|
|
CGO_ENABLED = 0;
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
doCheck = false; # tests fail
|
|
|
|
meta = with lib; {
|
|
description = "Ultimate camera streaming application with support RTSP, RTMP, HTTP-FLV, WebRTC, MSE, HLS, MJPEG, HomeKit, FFmpeg, etc.";
|
|
homepage = "https://github.com/AlexxIT/go2rtc";
|
|
changelog = "https://github.com/AlexxIT/go2rtc/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ hexa ];
|
|
mainProgram = "go2rtc";
|
|
};
|
|
}
|