mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-04 19:24:20 +00:00
dash-mpd-cli: init at 0.2.23 (#355105)
This commit is contained in:
commit
2cb893adf6
4829
pkgs/by-name/da/dash-mpd-cli/Cargo.lock
generated
Normal file
4829
pkgs/by-name/da/dash-mpd-cli/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
45
pkgs/by-name/da/dash-mpd-cli/package.nix
Normal file
45
pkgs/by-name/da/dash-mpd-cli/package.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
protobuf,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "dash-mpd-cli";
|
||||
version = "0.2.23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "emarsden";
|
||||
repo = "dash-mpd-cli";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-gRtt7iocGmnFpdTEMv/U4izeR/NtdYYXX3eFXW5LGYs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
ln -s ${./Cargo.lock} Cargo.lock
|
||||
'';
|
||||
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
|
||||
nativeBuildInputs = [ protobuf ];
|
||||
|
||||
# The tests depend on network access.
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Download media content from a DASH-MPEG or DASH-WebM MPD manifest";
|
||||
longDescription = ''
|
||||
A commandline application for downloading media content from a DASH MPD
|
||||
file, as used for on-demand replay of TV content and video streaming
|
||||
services.
|
||||
'';
|
||||
homepage = "https://emarsden.github.io/dash-mpd-cli/";
|
||||
downloadPage = "https://github.com/emarsden/dash-mpd-cli/releases";
|
||||
changelog = "https://github.com/emarsden/dash-mpd-cli/blob/main/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ al3xtjames ];
|
||||
mainProgram = "dash-mpd-cli";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user