youtube-dl: remove unnecessary pandoc dependency
This commit is contained in:
parent
6d42d6928e
commit
86a511a398
@ -1,4 +1,9 @@
|
||||
{ stdenv, fetchurl, makeWrapper, python, zip, pandoc, ffmpeg }:
|
||||
{ manuals ? true
|
||||
, stdenv, fetchurl, makeWrapper, python, zip,
|
||||
pandoc ? null
|
||||
, ffmpeg }:
|
||||
|
||||
assert manuals -> pandoc != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "youtube-dl-${version}";
|
||||
@ -9,7 +14,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0lgxir2i5ipplg57wk8gnbbsdrk7szqnyb1bxr97f3h0rbm4dfij";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pandoc ];
|
||||
nativeBuildInputs = [ ]
|
||||
++ stdenv.lib.optional manuals pandoc;
|
||||
|
||||
buildInputs = [ python makeWrapper zip ];
|
||||
|
||||
|
@ -3384,7 +3384,9 @@ let
|
||||
# To expose more packages for Yi, override the extraPackages arg.
|
||||
yi = callPackage ../applications/editors/yi/wrapper.nix { };
|
||||
|
||||
youtube-dl = callPackage ../tools/misc/youtube-dl { };
|
||||
youtube-dl = callPackage ../tools/misc/youtube-dl {
|
||||
manuals = false;
|
||||
};
|
||||
|
||||
zbar = callPackage ../tools/graphics/zbar {
|
||||
pygtk = lib.overrideDerivation pygtk (x: {
|
||||
|
Loading…
Reference in New Issue
Block a user