Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
670 B
Nix
33 lines
670 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
srt,
|
|
ffmpeg,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "srtrelay";
|
|
version = "1.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "voc";
|
|
repo = "srtrelay";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-idWAJD6dvvM5OHox5+MI8q3knyl2ANqBiXfQ0VlF67Q=";
|
|
};
|
|
|
|
vendorHash = "sha256-a4Efva0nWeyHjftuky76znbHOrZYXaIVENKbHK9xnb8=";
|
|
|
|
buildInputs = [ srt ];
|
|
nativeCheckInputs = [ ffmpeg ];
|
|
|
|
meta = with lib; {
|
|
description = "Streaming-Relay for the SRT-protocol";
|
|
homepage = "https://github.com/voc/srtrelay";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fpletz ];
|
|
mainProgram = "srtrelay";
|
|
};
|
|
}
|