Loading pkgs/by-name/da/dash-mpd-cli/package.nix +6 −6 Original line number Diff line number Diff line Loading @@ -4,8 +4,10 @@ rustPlatform, fetchFromGitHub, makeWrapper, bento4, protobuf, ffmpeg, gpac, libxslt, shaka-packager, nix-update-script, Loading @@ -31,10 +33,6 @@ rustPlatform.buildRustPackage (finalAttrs: { hash = "sha256-Q8+HTDdeaqDroBZ1AS+jDxf0yq20jZ+raRCh7gEJYn8="; }; patches = [ ./use-shaka-by-default.patch ]; cargoHash = "sha256-YnA/LTw9xCLSnNuFDXlsGzAiTdsst2uIDewuohkkgDU="; nativeBuildInputs = [ Loading @@ -49,8 +47,10 @@ rustPlatform.buildRustPackage (finalAttrs: { wrapProgram $out/bin/dash-mpd-cli \ --prefix PATH : ${ lib.makeBinPath [ (lib.getBin ffmpeg) (lib.getBin libxslt) bento4 ffmpeg gpac libxslt shaka-packager-wrapped ] } Loading pkgs/by-name/da/dash-mpd-cli/use-shaka-by-default.patchdeleted 100644 → 0 +0 −12 Original line number Diff line number Diff line diff --git a/src/main.rs b/src/main.rs index f720d4c..a3c6c85 100644 --- a/src/main.rs +++ b/src/main.rs @@ -325,6 +325,7 @@ async fn main () -> Result<()> { .value_name("APP") .num_args(1) .value_parser(["mp4decrypt", "shaka"]) + .default_value("shaka") .help("Application to use to decrypt encrypted media streams (either mp4decrypt or shaka).")) .arg(Arg::new("save-fragments") .long("save-fragments") Loading
pkgs/by-name/da/dash-mpd-cli/package.nix +6 −6 Original line number Diff line number Diff line Loading @@ -4,8 +4,10 @@ rustPlatform, fetchFromGitHub, makeWrapper, bento4, protobuf, ffmpeg, gpac, libxslt, shaka-packager, nix-update-script, Loading @@ -31,10 +33,6 @@ rustPlatform.buildRustPackage (finalAttrs: { hash = "sha256-Q8+HTDdeaqDroBZ1AS+jDxf0yq20jZ+raRCh7gEJYn8="; }; patches = [ ./use-shaka-by-default.patch ]; cargoHash = "sha256-YnA/LTw9xCLSnNuFDXlsGzAiTdsst2uIDewuohkkgDU="; nativeBuildInputs = [ Loading @@ -49,8 +47,10 @@ rustPlatform.buildRustPackage (finalAttrs: { wrapProgram $out/bin/dash-mpd-cli \ --prefix PATH : ${ lib.makeBinPath [ (lib.getBin ffmpeg) (lib.getBin libxslt) bento4 ffmpeg gpac libxslt shaka-packager-wrapped ] } Loading
pkgs/by-name/da/dash-mpd-cli/use-shaka-by-default.patchdeleted 100644 → 0 +0 −12 Original line number Diff line number Diff line diff --git a/src/main.rs b/src/main.rs index f720d4c..a3c6c85 100644 --- a/src/main.rs +++ b/src/main.rs @@ -325,6 +325,7 @@ async fn main () -> Result<()> { .value_name("APP") .num_args(1) .value_parser(["mp4decrypt", "shaka"]) + .default_value("shaka") .help("Application to use to decrypt encrypted media streams (either mp4decrypt or shaka).")) .arg(Arg::new("save-fragments") .long("save-fragments")