mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
gerbera: don't pass pkgs as argument
This commit is contained in:
parent
3673ad819f
commit
013953c89b
1 changed files with 20 additions and 21 deletions
|
@ -2,18 +2,17 @@
|
||||||
, cmake, pkg-config
|
, cmake, pkg-config
|
||||||
# required
|
# required
|
||||||
, libupnp, libuuid, pugixml, libiconv, sqlite, zlib, spdlog, fmt
|
, libupnp, libuuid, pugixml, libiconv, sqlite, zlib, spdlog, fmt
|
||||||
, pkgs
|
|
||||||
# options
|
# options
|
||||||
, enableDuktape ? true
|
, enableDuktape ? true, duktape
|
||||||
, enableCurl ? true
|
, enableCurl ? true, curl
|
||||||
, enableTaglib ? true
|
, enableTaglib ? true, taglib
|
||||||
, enableLibmagic ? true
|
, enableLibmagic ? true, file
|
||||||
, enableLibmatroska ? true
|
, enableLibmatroska ? true, libmatroska, libebml
|
||||||
, enableAvcodec ? false
|
, enableAvcodec ? false, libav
|
||||||
, enableLibexif ? true
|
, enableLibexif ? true, libexif
|
||||||
, enableExiv2 ? false
|
, enableExiv2 ? false, exiv2
|
||||||
, enableFFmpegThumbnailer ? false
|
, enableFFmpegThumbnailer ? false, ffmpegthumbnailer
|
||||||
, enableInotifyTools ? true
|
, enableInotifyTools ? true, inotify-tools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
@ -51,16 +50,16 @@ in stdenv.mkDerivation rec {
|
||||||
libupnp libuuid pugixml libiconv sqlite zlib fmt.dev
|
libupnp libuuid pugixml libiconv sqlite zlib fmt.dev
|
||||||
spdlog
|
spdlog
|
||||||
]
|
]
|
||||||
++ optionals enableDuktape [ pkgs.duktape ]
|
++ optionals enableDuktape [ duktape ]
|
||||||
++ optionals enableCurl [ pkgs.curl ]
|
++ optionals enableCurl [ curl ]
|
||||||
++ optionals enableTaglib [ pkgs.taglib ]
|
++ optionals enableTaglib [ taglib ]
|
||||||
++ optionals enableLibmagic [ pkgs.file ]
|
++ optionals enableLibmagic [ file ]
|
||||||
++ optionals enableLibmatroska [ pkgs.libmatroska pkgs.libebml ]
|
++ optionals enableLibmatroska [ libmatroska libebml ]
|
||||||
++ optionals enableAvcodec [ pkgs.libav.dev ]
|
++ optionals enableAvcodec [ libav.dev ]
|
||||||
++ optionals enableLibexif [ pkgs.libexif ]
|
++ optionals enableLibexif [ libexif ]
|
||||||
++ optionals enableExiv2 [ pkgs.exiv2 ]
|
++ optionals enableExiv2 [ exiv2 ]
|
||||||
++ optionals enableInotifyTools [ pkgs.inotify-tools ]
|
++ optionals enableInotifyTools [ inotify-tools ]
|
||||||
++ optionals enableFFmpegThumbnailer [ pkgs.ffmpegthumbnailer ];
|
++ optionals enableFFmpegThumbnailer [ ffmpegthumbnailer ];
|
||||||
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue