2021-01-25 11:26:54 +03:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
2018-05-21 00:27:34 +03:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "webmetro";
|
|
|
|
version = "unstable-20180426";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Tangent128";
|
|
|
|
repo = pname;
|
|
|
|
rev = "4f6cc00fe647bd311d00a8a4cb53ab08f20a04f9";
|
|
|
|
sha256 = "1n2c7ygs8qsd5zgii6fqqcwg427bsij082bg4ijnzkq5630dx651";
|
|
|
|
};
|
|
|
|
|
2021-05-07 14:00:49 +03:00
|
|
|
cargoSha256 = "1n4498byy2m2f928hamfn959abrrn693wcc323ifqqrvnbkckdz8";
|
2018-05-21 00:27:34 +03:00
|
|
|
|
2021-01-11 10:54:33 +03:00
|
|
|
meta = with lib; {
|
2018-05-21 00:27:34 +03:00
|
|
|
description = "Simple relay server for broadcasting a WebM stream";
|
|
|
|
longDescription = ''
|
|
|
|
Webmetro is a simple relay server for broadcasting a WebM stream
|
|
|
|
from one uploader to many downloaders, via HTTP.
|
|
|
|
The initialization segment is remembered, so that viewers can join
|
|
|
|
mid-stream. Cluster timestamps are rewritten to be monotonic, so multiple
|
|
|
|
(compatibly-encoded) webm files can be chained together without
|
|
|
|
clients needing to reconnect.
|
|
|
|
'';
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ leenaars ];
|
|
|
|
};
|
|
|
|
}
|