3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/video/srtrelay/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
625 B
Nix
Raw Normal View History

2021-07-28 18:10:39 +01:00
{ lib, buildGoModule, fetchFromGitHub, srt, ffmpeg }:
buildGoModule rec {
2022-01-24 13:45:42 +00:00
pname = "srtrelay";
version = "1.1.0";
2021-07-28 18:10:39 +01:00
src = fetchFromGitHub {
owner = "voc";
repo = "srtrelay";
2022-01-24 13:45:42 +00:00
rev = "v${version}";
sha256 = "sha256-CA+UuFOWjZjSBDWM62rda3IKO1fwC3X52mP4tg1uoO4=";
2021-07-28 18:10:39 +01:00
};
2022-01-24 13:45:42 +00:00
vendorSha256 = "sha256-xTYlfdijSo99ei+ZMX6N9gl+yw0DrPQ2wOhn6SS9S/E=";
2021-07-28 18:10:39 +01:00
buildInputs = [ srt ];
checkInputs = [ ffmpeg ];
meta = with lib; {
description = "Streaming-Relay for the SRT-protocol";
homepage = "https://github.com/voc/srtrelay";
license = licenses.mit;
maintainers = with maintainers; [ fpletz ];
};
}