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
631 B
Nix
Raw Normal View History

2021-07-28 17:10:39 +00: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 17:10:39 +00: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 17:10:39 +00:00
};
2022-01-24 13:45:42 +00:00
vendorSha256 = "sha256-xTYlfdijSo99ei+ZMX6N9gl+yw0DrPQ2wOhn6SS9S/E=";
2021-07-28 17:10:39 +00:00
buildInputs = [ srt ];
nativeCheckInputs = [ ffmpeg ];
2021-07-28 17:10:39 +00:00
meta = with lib; {
description = "Streaming-Relay for the SRT-protocol";
homepage = "https://github.com/voc/srtrelay";
license = licenses.mit;
maintainers = with maintainers; [ fpletz ];
};
}