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 19:10:39 +02:00
{ lib, buildGoModule, fetchFromGitHub, srt, ffmpeg }:
buildGoModule rec {
2022-01-24 14:45:42 +01:00
pname = "srtrelay";
version = "1.1.0";
2021-07-28 19:10:39 +02:00
src = fetchFromGitHub {
owner = "voc";
repo = "srtrelay";
2022-01-24 14:45:42 +01:00
rev = "v${version}";
sha256 = "sha256-CA+UuFOWjZjSBDWM62rda3IKO1fwC3X52mP4tg1uoO4=";
2021-07-28 19:10:39 +02:00
};
2022-01-24 14:45:42 +01:00
vendorSha256 = "sha256-xTYlfdijSo99ei+ZMX6N9gl+yw0DrPQ2wOhn6SS9S/E=";
2021-07-28 19:10:39 +02: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 ];
};
}