1 { lib, fetchFromGitHub, rustPlatform }:
3 rustPlatform.buildRustPackage rec {
5 version = "unstable-20180426";
7 src = fetchFromGitHub {
10 rev = "4f6cc00fe647bd311d00a8a4cb53ab08f20a04f9";
11 sha256 = "1n2c7ygs8qsd5zgii6fqqcwg427bsij082bg4ijnzkq5630dx651";
14 cargoHash = "sha256-6LfJ5rI7Y+ziEIMxPpKxOS+VSrKuKohEcqIK7xdKhNg=";
17 description = "Simple relay server for broadcasting a WebM stream";
19 Webmetro is a simple relay server for broadcasting a WebM stream
20 from one uploader to many downloaders, via HTTP.
21 The initialization segment is remembered, so that viewers can join
22 mid-stream. Cluster timestamps are rewritten to be monotonic, so multiple
23 (compatibly-encoded) webm files can be chained together without
24 clients needing to reconnect.
26 license = with licenses; [ mit ];
27 maintainers = with maintainers; [ leenaars ];
28 mainProgram = "webmetro";