go2rtc: init at 1.5.0

This commit is contained in:
Martin Weinelt 2023-02-06 20:32:48 +00:00
parent 789d16f52d
commit 5ad9a631d6
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "go2rtc";
version = "1.5.0";
src = fetchFromGitHub {
owner = "AlexxIT";
repo = "go2rtc";
rev = "refs/tags/v${version}";
hash = "sha256-1QCw+/XUV8aoNxo2h+8ud6gx7KMFi4hStf7Ezgg5md8=";
};
vendorHash = "sha256-iav7k4HLyXO94qofcHxVxhV8BV2k5oiTtX8kVyxnpoI=";
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 ];
};
}

View file

@ -3460,6 +3460,8 @@ with pkgs;
};
go2tv-lite = go2tv.override { withGui = false; };
go2rtc = callPackage ../tools/video/go2rtc { };
goimapnotify = callPackage ../tools/networking/goimapnotify { };
gojsontoyaml = callPackage ../development/tools/gojsontoyaml { };