1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00
nixpkgs/pkgs/servers/webmetro/default.nix
Daniël de Kok 85f96822a0 treewide: fix cargoSha256/cargoHash
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in
which cargo vendor erroneously changed permissions of vendored
crates. This was fixed in Rust
1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all
cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are
potentially broken.

This change updates cargoSha256/cargoHash tree-wide.

Fixes #121994.
2021-05-08 00:36:37 -07:00

30 lines
1,000 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "webmetro";
version = "unstable-20180426";
src = fetchFromGitHub {
owner = "Tangent128";
repo = pname;
rev = "4f6cc00fe647bd311d00a8a4cb53ab08f20a04f9";
sha256 = "1n2c7ygs8qsd5zgii6fqqcwg427bsij082bg4ijnzkq5630dx651";
};
cargoSha256 = "1n4498byy2m2f928hamfn959abrrn693wcc323ifqqrvnbkckdz8";
meta = with 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 ];
};
}