nixpkgs/pkgs/servers/webmetro/default.nix
Benjamin Hipple eb11feaa0b treewide: change fetchCargoTarball default to opt-out
Changes the default fetcher in the Rust Platform to be the newer
`fetchCargoTarball`, and changes every application using the current default to
instead opt out.

This commit does not change any hashes or cause any rebuilds. Once integrated,
we will start deleting the opt-outs and recomputing hashes.

See #79975 for details.
2020-02-13 22:41:37 -08:00

34 lines
1.1 KiB
Nix

{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "webmetro";
version = "unstable-20180426";
src = fetchFromGitHub {
owner = "Tangent128";
repo = pname;
rev = "4f6cc00fe647bd311d00a8a4cb53ab08f20a04f9";
sha256 = "1n2c7ygs8qsd5zgii6fqqcwg427bsij082bg4ijnzkq5630dx651";
};
# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;
cargoSha256 = "03ncwj9bn21590phcnqyclclcird7rikbhxbwhg8i9i0nad81aaa";
meta = with stdenv.lib; {
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 ];
platforms = platforms.all;
};
}