mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
treewide: *Inputs are flat lists
This commit is contained in:
parent
760e23136a
commit
839c0ea7a5
@ -20,7 +20,7 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
checkInputs = with python3Packages; [ pytest ];
|
||||
propagatedBuildInputs = [ file ]
|
||||
++ lib.optional (imagePreviewSupport) [ python3Packages.pillow ];
|
||||
++ lib.optionals (imagePreviewSupport) [ python3Packages.pillow ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test tests
|
||||
|
@ -179,7 +179,7 @@ in stdenv.mkDerivation {
|
||||
++ lib.optional udevSupport udev
|
||||
++ lib.optional usbSupport libusb
|
||||
++ lib.optional vdpauSupport libvdpau
|
||||
++ lib.optional useWayland [
|
||||
++ lib.optionals useWayland [
|
||||
wayland waylandpp
|
||||
# Not sure why ".dev" is needed here, but CMake doesn't find libxkbcommon otherwise
|
||||
libxkbcommon.dev
|
||||
@ -192,7 +192,7 @@ in stdenv.mkDerivation {
|
||||
which
|
||||
pkgconfig gnumake
|
||||
autoconf automake libtool # still needed for some components. Check if that is the case with 19.0
|
||||
] ++ lib.optional useWayland [ wayland-protocols ];
|
||||
] ++ lib.optionals useWayland [ wayland-protocols ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-Dlibdvdcss_URL=${libdvdcss.src}"
|
||||
|
@ -24,12 +24,12 @@ stdenv.mkDerivation rec {
|
||||
cmakeFlags = [ "-DQT_TRANSLATIONS_DIR=share/qt/translations" ];
|
||||
|
||||
nativeBuildInputs = [ cmake ]
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin) [ pkgconfig ] # for finding libsecret
|
||||
++ stdenv.lib.optionals (!stdenv.isDarwin) [ pkgconfig ] # for finding libsecret
|
||||
;
|
||||
|
||||
buildInputs = stdenv.lib.optional (!stdenv.isDarwin) [ libsecret ]
|
||||
buildInputs = stdenv.lib.optionals (!stdenv.isDarwin) [ libsecret ]
|
||||
++ (if withQt5 then [ qtbase qttools ] else [ qt4 ])
|
||||
++ stdenv.lib.optional stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
CoreFoundation Security
|
||||
])
|
||||
;
|
||||
|
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [ adal msrest ];
|
||||
|
||||
checkInputs = [ httpretty mock pytest ]
|
||||
++ lib.optional isPy3k [ pytest-asyncio ];
|
||||
++ lib.optionals isPy3k [ pytest-asyncio ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/
|
||||
|
@ -24,7 +24,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
pyzmq
|
||||
requests
|
||||
tornado_4
|
||||
] ++ stdenv.lib.optional (!pythonPackages.isPy3k) [
|
||||
] ++ stdenv.lib.optionals (!pythonPackages.isPy3k) [
|
||||
futures
|
||||
] ++ extraInputs;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user